Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001155/0.001155, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001222/0.001222, allocations: 187 kB / 18.71 MB, free: 4.348 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2167/0.2167, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.386, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03373/0.4198, allocations: 26.8 MB / 0.5446 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.4233, allocations: 2.954 MB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4235, allocations: 1.094 kB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.4238, allocations: 52.25 kB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.4259, allocations: 0.7226 MB / 0.5483 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.4263, allocations: 140.6 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.4268, allocations: 366 kB / 0.5487 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.4269, allocations: 14.58 kB / 0.5488 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03526/0.4621, allocations: 15.49 MB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.4626, allocations: 147.5 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.4626, allocations: 8 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007203/0.4698, allocations: 3.448 MB / 0.5674 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.4699, allocations: 51.75 kB / 0.5674 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.4701, allocations: 103.5 kB / 0.5675 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.471, allocations: 470.8 kB / 0.568 GB, free: 9.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.471, allocations: 4 kB / 0.568 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.471, allocations: 0 / 0.568 GB, free: 9.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.471, allocations: 7.938 kB / 0.568 GB, free: 9.121 MB / 430.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.001087/0.4721, allocations: 0.5931 MB / 0.5686 GB, free: 8.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4721, allocations: 8.031 kB / 0.5686 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.4722, allocations: 66.72 kB / 0.5687 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.4724, allocations: 28.66 kB / 0.5687 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4726, allocations: 228.1 kB / 0.5689 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4727, allocations: 119.9 kB / 0.569 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4728, allocations: 23.94 kB / 0.569 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.4733, allocations: 327.6 kB / 0.5694 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4733, allocations: 3.938 kB / 0.5694 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.4733, allocations: 12 kB / 0.5694 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.4733, allocations: 4 kB / 0.5694 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.4741, allocations: 0.743 MB / 0.5701 GB, free: 6.836 MB / 430.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.00127/0.4754, allocations: 1.3 MB / 0.5714 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.4757, allocations: 167.7 kB / 0.5715 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4759, allocations: 81.48 kB / 0.5716 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002362/0.4782, allocations: 2.806 MB / 0.5743 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4783, allocations: 42.55 kB / 0.5744 GB, free: 1.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4783, allocations: 0 / 0.5744 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002945/0.4786, allocations: 121.3 kB / 0.5745 GB, free: 1.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4786, allocations: 55.41 kB / 0.5746 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.4788, allocations: 218.7 kB / 0.5748 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4788, allocations: 25.7 kB / 0.5748 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.479, allocations: 222.6 kB / 0.575 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.479, allocations: 47.42 kB / 0.575 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.4791, allocations: 82.03 kB / 0.5751 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4792, allocations: 326.8 kB / 0.5754 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.4793, allocations: 48.84 kB / 0.5755 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.4796, allocations: 343.2 kB / 0.5758 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.48, allocations: 448.5 kB / 0.5762 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.48, allocations: 4 kB / 0.5762 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000509/0.4806, allocations: 377.2 kB / 0.5766 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4806, allocations: 12 kB / 0.5766 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4806, allocations: 15.94 kB / 0.5766 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4806, allocations: 12 kB / 0.5766 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.4809, allocations: 99.83 kB / 0.5767 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.4809, allocations: 24.55 kB / 0.5768 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4811, allocations: 55.44 kB / 0.5768 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4811, allocations: 31.98 kB / 0.5768 GB, free: 14.9 MB / 446.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 (51): * Single equations (assignments): 50 * 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.0001091/0.4813, allocations: 149.5 kB / 0.577 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.4813, allocations: 19.81 kB / 0.577 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.4816, allocations: 160.7 kB / 0.5772 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.4816, allocations: 0 / 0.5772 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4816, allocations: 3.938 kB / 0.5772 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4816, allocations: 0 / 0.5772 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.482, allocations: 408.8 kB / 0.5775 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4821, allocations: 4.094 kB / 0.5776 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.4821, allocations: 19.92 kB / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4821, allocations: 0 / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4821, allocations: 4 kB / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4822, allocations: 4.062 kB / 0.5776 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4822, allocations: 4 kB / 0.5776 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.4823, allocations: 209.8 kB / 0.5778 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.4824, allocations: 96.91 kB / 0.5779 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.4825, allocations: 4 kB / 0.5779 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4826, allocations: 7.984 kB / 0.5779 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.4826, allocations: 4 kB / 0.5779 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4827, allocations: 8 kB / 0.5779 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4828, allocations: 152.5 kB / 0.578 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4828, allocations: 4 kB / 0.578 GB, free: 13.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.4833, allocations: 99.83 kB / 0.5781 GB, free: 13.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0005954/0.4839, allocations: 0.7849 MB / 0.5789 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4842, allocations: 170.4 kB / 0.5791 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4842, allocations: 320 / 0.5791 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.4842, allocations: 27.94 kB / 0.5791 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.4846, allocations: 40.34 kB / 0.5791 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.4873, allocations: 2.812 MB / 0.5819 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4875, allocations: 0.7285 MB / 0.5826 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.4877, allocations: 58.89 kB / 0.5827 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.4878, allocations: 63.36 kB / 0.5827 GB, free: 8.305 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4878, allocations: 0 / 0.5827 GB, free: 8.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.5099, allocations: 5.279 MB / 0.5879 GB, free: 3.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.163, allocations: 9.906 kB / 0.5879 GB, free: 3.156 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches