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.0014/0.0014, allocations: 107.8 kB / 16.41 MB, free: 6.5 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.001266/0.001266, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2138/0.2138, allocations: 43.54 MB / 314.1 MB, free: 468 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.002017/0.002018, allocations: 68.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3903/0.502, allocations: 136.2 MB / 0.6204 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.5076, allocations: 4.709 MB / 0.625 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.5078, allocations: 4 kB / 0.625 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.5082, allocations: 59.58 kB / 0.6251 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.51, allocations: 0.7228 MB / 0.6258 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.5104, allocations: 164.5 kB / 0.6259 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.5109, allocations: 382.1 kB / 0.6263 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.511, allocations: 9.688 kB / 0.6263 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.5112, allocations: 147.5 kB / 0.6264 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.5115, allocations: 191.4 kB / 0.6266 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.5115, allocations: 12 kB / 0.6266 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.5129, allocations: 0.6824 MB / 0.6273 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.5129, allocations: 43.88 kB / 0.6273 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.5131, allocations: 111.5 kB / 0.6274 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.5138, allocations: 469.6 kB / 0.6279 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5138, allocations: 0 / 0.6279 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5138, allocations: 0 / 0.6279 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5138, allocations: 0 / 0.6279 GB, free: 11.07 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.001056/0.5149, allocations: 0.5961 MB / 0.6285 GB, free: 10.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.515, allocations: 15.89 kB / 0.6285 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.515, allocations: 58.73 kB / 0.6285 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.5152, allocations: 36.78 kB / 0.6286 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.5155, allocations: 222.3 kB / 0.6288 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.5157, allocations: 127.9 kB / 0.6289 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5157, allocations: 20.38 kB / 0.6289 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.5162, allocations: 334.7 kB / 0.6293 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5162, allocations: 0 / 0.6293 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.5163, allocations: 8 kB / 0.6293 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.5163, allocations: 8 kB / 0.6293 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.5172, allocations: 0.739 MB / 0.63 GB, free: 8.777 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.001328/0.5185, allocations: 1.226 MB / 0.6312 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.5189, allocations: 178.5 kB / 0.6314 GB, free: 7.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.5191, allocations: 89.42 kB / 0.6314 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002449/0.5215, allocations: 2.703 MB / 0.6341 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5216, allocations: 34.56 kB / 0.6341 GB, free: 3.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5216, allocations: 0 / 0.6341 GB, free: 3.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006143/0.5222, allocations: 232.9 kB / 0.6343 GB, free: 3.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5223, allocations: 55.41 kB / 0.6344 GB, free: 3.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.5225, allocations: 211 kB / 0.6346 GB, free: 3.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5225, allocations: 33.7 kB / 0.6346 GB, free: 3.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5226, allocations: 219.5 kB / 0.6348 GB, free: 3.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5227, allocations: 55.53 kB / 0.6349 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.5228, allocations: 82.08 kB / 0.635 GB, free: 2.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5229, allocations: 334.8 kB / 0.6353 GB, free: 2.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.523, allocations: 48.84 kB / 0.6353 GB, free: 2.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.5233, allocations: 328 kB / 0.6356 GB, free: 2.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.5238, allocations: 431.4 kB / 0.6361 GB, free: 1.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5238, allocations: 0 / 0.6361 GB, free: 1.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005589/0.5244, allocations: 389.2 kB / 0.6364 GB, free: 1.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.5244, allocations: 8 kB / 0.6364 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5244, allocations: 12 kB / 0.6364 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5245, allocations: 15.94 kB / 0.6365 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.5248, allocations: 111.8 kB / 0.6366 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.5248, allocations: 16.53 kB / 0.6366 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.525, allocations: 20 kB / 0.6366 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.5251, allocations: 27.98 kB / 0.6366 GB, free: 1 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.0001325/0.5252, allocations: 153.6 kB / 0.6368 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.5253, allocations: 23.84 kB / 0.6368 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.5256, allocations: 155.8 kB / 0.6369 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5256, allocations: 3.938 kB / 0.6369 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5256, allocations: 0.875 kB / 0.637 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5256, allocations: 0 / 0.637 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.5261, allocations: 444 kB / 0.6374 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5262, allocations: 0 / 0.6374 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.5263, allocations: 31.92 kB / 0.6374 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5263, allocations: 4.062 kB / 0.6374 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5263, allocations: 4.812 kB / 0.6374 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5263, allocations: 3.984 kB / 0.6374 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5264, allocations: 0 / 0.6374 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5266, allocations: 225 kB / 0.6376 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.5267, allocations: 104.9 kB / 0.6377 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.5267, allocations: 8 kB / 0.6377 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.5269, allocations: 12.86 kB / 0.6378 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.527, allocations: 7.984 kB / 0.6378 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.527, allocations: 8 kB / 0.6378 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.5271, allocations: 148.5 kB / 0.6379 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5271, allocations: 0 / 0.6379 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.5276, allocations: 91.94 kB / 0.638 GB, free: 15.48 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.0007448/0.5284, allocations: 0.8164 MB / 0.6388 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.5287, allocations: 184.9 kB / 0.639 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5287, allocations: 0 / 0.639 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.5288, allocations: 37.23 kB / 0.639 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.5292, allocations: 52.03 kB / 0.6391 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.5323, allocations: 2.725 MB / 0.6417 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.5328, allocations: 0.7245 MB / 0.6424 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.533, allocations: 58.83 kB / 0.6425 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.5331, allocations: 63.41 kB / 0.6425 GB, free: 10.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5331, allocations: 0 / 0.6425 GB, free: 10.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.5609, allocations: 5.294 MB / 0.6477 GB, free: 5.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.556, allocations: 11.94 kB / 0.6477 GB, free: 5.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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