Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 114.4 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 47.48 kB / 300.2 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.0765, allocations: 49.45 MB / 349.7 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007617/0.08415, allocations: 7.922 MB / 357.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.08765, allocations: 2.598 MB / 360.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.08812, allocations: 23.94 kB / 360.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.08917, allocations: 449.7 kB / 360.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.08981, allocations: 349.5 kB / 361 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.09014, allocations: 191.7 kB / 361.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009209/0.09107, allocations: 1.231 MB / 362.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.09165, allocations: 0.5253 MB / 363 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.09207, allocations: 486.1 kB / 363.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.09254, allocations: 0.5172 MB / 364 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.09266, allocations: 112 kB / 364.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.09288, allocations: 160 kB / 364.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.09303, allocations: 239.1 kB / 364.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.09342, allocations: 0.5638 MB / 365 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.09444, allocations: 1.437 MB / 366.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09445, allocations: 0 / 366.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09446, allocations: 0 / 366.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.09448, allocations: 4 kB / 366.5 MB, free: 3.816 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001763/0.09624, allocations: 1.309 MB / 367.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.09629, allocations: 8.031 kB / 367.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.09641, allocations: 135.4 kB / 367.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.09686, allocations: 147.6 kB / 368 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.09761, allocations: 0.6377 MB / 368.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.09766, allocations: 66.12 kB / 368.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.09777, allocations: 91.84 kB / 368.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.09896, allocations: 0.8223 MB / 369.7 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.09899, allocations: 0 / 369.7 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.09906, allocations: 36 kB / 369.7 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.09908, allocations: 24 kB / 369.7 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1048/0.2039, allocations: 0.5356 MB / 370.3 MB, free: 25.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.2075, allocations: 3.577 MB / 373.8 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.208, allocations: 245.8 kB / 374.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.2082, allocations: 116.1 kB / 374.2 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2082, allocations: 3.078 kB / 374.2 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2082, allocations: 43.78 kB / 374.2 MB, free: 23.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.2082, allocations: 0 / 374.2 MB, free: 23.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001676/0.2099, allocations: 1.062 MB / 375.3 MB, free: 22.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.21, allocations: 84.8 kB / 375.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.2107, allocations: 0.7597 MB / 376.1 MB, free: 22.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2107, allocations: 31.08 kB / 376.2 MB, free: 22.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.211, allocations: 0.515 MB / 376.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.211, allocations: 111.2 kB / 376.8 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2112, allocations: 122.8 kB / 376.9 MB, free: 21.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.2112, allocations: 388.1 kB / 377.3 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2115, allocations: 130.7 kB / 377.4 MB, free: 21.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.2118, allocations: 446.6 kB / 377.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.2124, allocations: 0.6258 MB / 378.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2124, allocations: 3.688 kB / 378.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008914/0.2133, allocations: 0.6438 MB / 379.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2133, allocations: 9.625 kB / 379.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2133, allocations: 11 kB / 379.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.2134, allocations: 35.33 kB / 379.2 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2139, allocations: 149.9 kB / 379.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006168/0.2145, allocations: 1.389 MB / 380.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.2149, allocations: 49.83 kB / 380.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.215, allocations: 32.78 kB / 380.8 MB, free: 18.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.2152, allocations: 236.8 kB / 381 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.2153, allocations: 79.48 kB / 381.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.2158, allocations: 336.8 kB / 381.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2158, allocations: 2.281 kB / 381.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2159, allocations: 1.984 kB / 381.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2159, allocations: 1.312 kB / 381.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2172, allocations: 1.123 MB / 382.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2172, allocations: 3.109 kB / 382.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.2175, allocations: 64.2 kB / 382.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-05/0.2176, allocations: 27.92 kB / 382.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2176, allocations: 8.359 kB / 382.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005343/0.2182, allocations: 1.367 MB / 384 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2182, allocations: 2.531 kB / 384 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.2189, allocations: 0.5881 MB / 384.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2191, allocations: 168.9 kB / 384.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.2192, allocations: 13.14 kB / 384.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.2195, allocations: 23.84 kB / 384.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.2196, allocations: 31.23 kB / 384.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2196, allocations: 12.56 kB / 384.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005342/0.2201, allocations: 0.5155 MB / 385.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2201, allocations: 0 / 385.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.2207, allocations: 171.2 kB / 385.5 MB, free: 15.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009375/0.2217, allocations: 1.149 MB / 386.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2224, allocations: 490.2 kB / 387.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2224, allocations: 1.375 kB / 387.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.2227, allocations: 245.3 kB / 387.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.2236, allocations: 185.2 kB / 387.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/0.2311, allocations: 7.239 MB / 394.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.2314, allocations: 0.9508 MB / 395.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000313/0.2317, allocations: 97.16 kB / 395.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2319, allocations: 316.7 kB / 396.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.232, allocations: 3.938 kB / 396.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.29/1.522, allocations: 15.53 MB / 411.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.523, allocations: 244.6 kB / 412 MB, free: 11.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.983, allocations: 3.094 kB / 412 MB, free: 11.04 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches