Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_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.00142/0.00142, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00151/0.00151, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3296, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1502/0.4799, allocations: 136.1 MB / 0.6514 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.4852, allocations: 4.715 MB / 0.656 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.4854, allocations: 4 kB / 0.656 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.4858, allocations: 51.61 kB / 0.6561 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.4877, allocations: 0.7345 MB / 0.6568 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.4881, allocations: 159.4 kB / 0.6569 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.4887, allocations: 366.2 kB / 0.6573 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.33e-05/0.4887, allocations: 13.69 kB / 0.6573 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.489, allocations: 163.4 kB / 0.6575 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.4893, allocations: 187.4 kB / 0.6576 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.4894, allocations: 8 kB / 0.6576 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4908, allocations: 0.6824 MB / 0.6583 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4909, allocations: 47.75 kB / 0.6584 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.4911, allocations: 111.5 kB / 0.6585 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.4923, allocations: 462.3 kB / 0.6589 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4923, allocations: 0 / 0.6589 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4923, allocations: 4 kB / 0.6589 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4923, allocations: 0 / 0.6589 GB, free: 11.77 MB / 0.5137 GB 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.001221/0.4936, allocations: 0.5988 MB / 0.6595 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4936, allocations: 12.03 kB / 0.6595 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.4937, allocations: 62.72 kB / 0.6596 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4939, allocations: 28.8 kB / 0.6596 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4943, allocations: 232 kB / 0.6598 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4944, allocations: 123.9 kB / 0.6599 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.4945, allocations: 32.11 kB / 0.66 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.495, allocations: 322.8 kB / 0.6603 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.495, allocations: 4 kB / 0.6603 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.4951, allocations: 12 kB / 0.6603 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.4951, allocations: 8 kB / 0.6603 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007331/0.4958, allocations: 0.7313 MB / 0.661 GB, free: 9.469 MB / 0.5137 GB 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.001297/0.4972, allocations: 1.23 MB / 0.6622 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4976, allocations: 175.7 kB / 0.6624 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.4977, allocations: 89.47 kB / 0.6625 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002541/0.5003, allocations: 2.695 MB / 0.6651 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5003, allocations: 34.56 kB / 0.6651 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.5004, allocations: 0 / 0.6651 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006885/0.501, allocations: 224.8 kB / 0.6653 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.5011, allocations: 51.41 kB / 0.6654 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.5013, allocations: 226.9 kB / 0.6656 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5013, allocations: 33.64 kB / 0.6656 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.5015, allocations: 215.6 kB / 0.6658 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.5015, allocations: 59.52 kB / 0.6659 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.5016, allocations: 82.03 kB / 0.666 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5018, allocations: 334.8 kB / 0.6663 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.5019, allocations: 48.84 kB / 0.6663 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.5021, allocations: 339.7 kB / 0.6667 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.5026, allocations: 434 kB / 0.6671 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.5026, allocations: 4 kB / 0.6671 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006243/0.5032, allocations: 377.1 kB / 0.6674 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5032, allocations: 12 kB / 0.6674 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5033, allocations: 8 kB / 0.6675 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.5033, allocations: 20.75 kB / 0.6675 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.5036, allocations: 111.8 kB / 0.6676 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.5037, allocations: 19.92 kB / 0.6676 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.5039, allocations: 20 kB / 0.6676 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5039, allocations: 28 kB / 0.6676 GB, free: 1.684 MB / 0.5137 GB 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.0001339/0.5041, allocations: 141.7 kB / 0.6678 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.5042, allocations: 23.86 kB / 0.6678 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.5045, allocations: 155.8 kB / 0.668 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5045, allocations: 4 kB / 0.668 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5045, allocations: 0 / 0.668 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5046, allocations: 3.984 kB / 0.668 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.5052, allocations: 447.9 kB / 0.6684 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5052, allocations: 8.062 kB / 0.6684 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.5054, allocations: 23.98 kB / 0.6684 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5054, allocations: 4 kB / 0.6684 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5054, allocations: 4 kB / 0.6684 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5055, allocations: 4 kB / 0.6684 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5055, allocations: 7.938 kB / 0.6684 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.5058, allocations: 221 kB / 0.6687 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5059, allocations: 105 kB / 0.6688 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.5059, allocations: 4 kB / 0.6688 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5062, allocations: 8 kB / 0.6688 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.5062, allocations: 7.984 kB / 0.6688 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.5062, allocations: 11.97 kB / 0.6688 GB, free: 404 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001316/0.5064, allocations: 152.5 kB / 0.6689 GB, free: 252 kB / 0.5137 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5064, allocations: 0 / 0.6689 GB, free: 252 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005332/0.5069, allocations: 99.91 kB / 0.669 GB, free: 152 kB / 0.5137 GB 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.0007825/0.5077, allocations: 0.8152 MB / 0.6698 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.5081, allocations: 190 kB / 0.67 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5081, allocations: 0 / 0.67 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/0.5081, allocations: 31.92 kB / 0.67 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.5086, allocations: 44.66 kB / 0.6701 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.5116, allocations: 2.711 MB / 0.6727 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.512, allocations: 0.7283 MB / 0.6734 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.5123, allocations: 50.89 kB / 0.6735 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5124, allocations: 67.36 kB / 0.6735 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of SimCode: time 3.887e-06/0.5125, allocations: 0 / 0.6735 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.5413, allocations: 5.294 MB / 0.6787 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.194, allocations: 0 / 0.6787 GB, free: 5.914 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches