Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.00116/0.00116, allocations: 111.5 kB / 16.4 MB, free: 6.367 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.001225/0.001225, allocations: 198.7 kB / 17.34 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1853/0.1853, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 69.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09376, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3499/0.4437, allocations: 136.2 MB / 0.6204 GB, free: 2.727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005548/0.4493, allocations: 4.709 MB / 0.625 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.4495, allocations: 0 / 0.625 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.45, allocations: 59.59 kB / 0.6251 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.4522, allocations: 0.7267 MB / 0.6258 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.4527, allocations: 164.5 kB / 0.6259 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.4532, allocations: 374.2 kB / 0.6263 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.4533, allocations: 9.688 kB / 0.6263 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.4536, allocations: 155.5 kB / 0.6264 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.4539, allocations: 191.3 kB / 0.6266 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.454, allocations: 12 kB / 0.6266 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.4554, allocations: 0.6824 MB / 0.6273 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.4555, allocations: 43.81 kB / 0.6273 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.4557, allocations: 111.5 kB / 0.6274 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.4566, allocations: 461.7 kB / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4566, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4566, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4566, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001169/0.4578, allocations: 0.6033 MB / 0.6285 GB, free: 10.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4579, allocations: 11.89 kB / 0.6285 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.4579, allocations: 66.67 kB / 0.6285 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.4581, allocations: 36.78 kB / 0.6286 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.4585, allocations: 220.1 kB / 0.6288 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.4587, allocations: 123.9 kB / 0.6289 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.4587, allocations: 20.38 kB / 0.6289 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.4593, allocations: 330.7 kB / 0.6292 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4594, allocations: 0 / 0.6292 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.4594, allocations: 12 kB / 0.6293 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4594, allocations: 7.938 kB / 0.6293 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/0.4603, allocations: 0.743 MB / 0.63 GB, free: 8.746 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.4617, allocations: 1.226 MB / 0.6312 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.4621, allocations: 179.7 kB / 0.6314 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4622, allocations: 89.42 kB / 0.6314 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/0.4645, allocations: 2.691 MB / 0.6341 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4646, allocations: 42.5 kB / 0.6341 GB, free: 3.879 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.4646, allocations: 0 / 0.6341 GB, free: 3.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006468/0.4652, allocations: 224.9 kB / 0.6343 GB, free: 3.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4653, allocations: 55.41 kB / 0.6344 GB, free: 3.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4655, allocations: 219 kB / 0.6346 GB, free: 3.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4655, allocations: 29.7 kB / 0.6346 GB, free: 3.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4656, allocations: 215.5 kB / 0.6348 GB, free: 3.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4657, allocations: 63.52 kB / 0.6349 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.4658, allocations: 78.08 kB / 0.635 GB, free: 2.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4659, allocations: 334.8 kB / 0.6353 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.466, allocations: 48.84 kB / 0.6353 GB, free: 2.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.4662, allocations: 328 kB / 0.6356 GB, free: 2.125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.4667, allocations: 440.5 kB / 0.6361 GB, free: 1.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4667, allocations: 0 / 0.6361 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005642/0.4673, allocations: 377.3 kB / 0.6364 GB, free: 1.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4673, allocations: 8 kB / 0.6364 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4673, allocations: 12 kB / 0.6364 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.4674, allocations: 15.94 kB / 0.6364 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.4677, allocations: 111.8 kB / 0.6366 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.4677, allocations: 19.69 kB / 0.6366 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.4679, allocations: 20 kB / 0.6366 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.468, allocations: 35.97 kB / 0.6366 GB, free: 0.9688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.4681, allocations: 145.7 kB / 0.6368 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.4682, allocations: 15.91 kB / 0.6368 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4685, allocations: 167.7 kB / 0.6369 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.4685, allocations: 3.938 kB / 0.6369 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4685, allocations: 0 / 0.6369 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4685, allocations: 0 / 0.6369 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.4691, allocations: 445.6 kB / 0.6374 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4691, allocations: 0 / 0.6374 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.4693, allocations: 31.92 kB / 0.6374 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4693, allocations: 4.062 kB / 0.6374 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4693, allocations: 15.97 kB / 0.6374 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4693, allocations: 0 / 0.6374 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4693, allocations: 0 / 0.6374 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.4696, allocations: 218.1 kB / 0.6376 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4697, allocations: 105 kB / 0.6377 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.4698, allocations: 4 kB / 0.6377 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.47, allocations: 11.98 kB / 0.6377 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.47, allocations: 11.92 kB / 0.6378 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4701, allocations: 11.94 kB / 0.6378 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4702, allocations: 152.5 kB / 0.6379 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4702, allocations: 0 / 0.6379 GB, free: 15.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.4707, allocations: 87.94 kB / 0.638 GB, free: 15.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006758/0.4714, allocations: 0.8154 MB / 0.6388 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4717, allocations: 185.1 kB / 0.639 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4717, allocations: 0 / 0.639 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.4718, allocations: 35.92 kB / 0.639 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.4722, allocations: 48.89 kB / 0.639 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.4752, allocations: 2.721 MB / 0.6417 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4755, allocations: 0.7245 MB / 0.6424 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.4757, allocations: 66.8 kB / 0.6425 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.4758, allocations: 59.42 kB / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4758, allocations: 0 / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.4974, allocations: 5.287 MB / 0.6477 GB, free: 5.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.939, allocations: 16.05 kB / 0.6477 GB, free: 5.086 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches