Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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.001567/0.001567, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001897/0.001897, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.496/1.496, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2047/0.2047, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 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.001832/0.001832, allocations: 66.98 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.07818, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02907/0.1073, allocations: 26.81 MB / 467.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1104, allocations: 2.963 MB / 470.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.1105, allocations: 0 / 470.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1109, allocations: 51.66 kB / 470.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1126, allocations: 0.7227 MB / 471.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1129, allocations: 131.4 kB / 471.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1133, allocations: 378.1 kB / 471.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1134, allocations: 13.69 kB / 471.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03483/0.1482, allocations: 15.46 MB / 487.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.1486, allocations: 159.4 kB / 487.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.1486, allocations: 8 kB / 487.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007701/0.1564, allocations: 3.444 MB / 490.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.1565, allocations: 43.77 kB / 490.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1566, allocations: 107.5 kB / 490.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00084/0.1575, allocations: 466.8 kB / 491.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1575, allocations: 0 / 491.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1575, allocations: 0 / 491.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1575, allocations: 4 kB / 491.3 MB, free: 3.816 MB / 366.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.1586, allocations: 0.6008 MB / 491.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1586, allocations: 11.89 kB / 492 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.1587, allocations: 58.72 kB / 492 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1588, allocations: 24.75 kB / 492 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1591, allocations: 228 kB / 492.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1592, allocations: 123.9 kB / 492.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.1592, allocations: 27.94 kB / 492.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.1597, allocations: 327.6 kB / 492.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1597, allocations: 0 / 492.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.1598, allocations: 12 kB / 492.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.1598, allocations: 7.984 kB / 492.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.1605, allocations: 0.7391 MB / 493.5 MB, free: 1.523 MB / 366.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.001336/0.1619, allocations: 1.304 MB / 494.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1622, allocations: 171.6 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1624, allocations: 85.48 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/0.1647, allocations: 2.802 MB / 497.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1647, allocations: 42.44 kB / 497.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1647, allocations: 0 / 497.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002761/0.165, allocations: 117.3 kB / 498 MB, free: 12.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.165, allocations: 51.41 kB / 498.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1652, allocations: 218.8 kB / 498.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.1653, allocations: 33.7 kB / 498.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1654, allocations: 218.6 kB / 498.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.1654, allocations: 47.39 kB / 498.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.1655, allocations: 89.92 kB / 498.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1656, allocations: 326.8 kB / 499 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.1657, allocations: 44.84 kB / 499 MB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.166, allocations: 347.2 kB / 499.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.1664, allocations: 448.6 kB / 499.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1664, allocations: 7.938 kB / 499.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000544/0.1669, allocations: 377.7 kB / 0.4884 GB, free: 9.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.167, allocations: 12 kB / 0.4885 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.167, allocations: 11.98 kB / 0.4885 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.167, allocations: 19.98 kB / 0.4885 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.1672, allocations: 95.83 kB / 0.4886 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.1673, allocations: 27.86 kB / 0.4886 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1675, allocations: 51.44 kB / 0.4886 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1675, allocations: 31.94 kB / 0.4887 GB, free: 9.574 MB / 382.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.0001219/0.1677, allocations: 153.8 kB / 0.4888 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.1677, allocations: 19.81 kB / 0.4888 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.168, allocations: 144.8 kB / 0.489 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.168, allocations: 4 kB / 0.489 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.168, allocations: 0 / 0.489 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.168, allocations: 0 / 0.489 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1685, allocations: 408.8 kB / 0.4894 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1685, allocations: 0 / 0.4894 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1686, allocations: 15.98 kB / 0.4894 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1686, allocations: 4.094 kB / 0.4894 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1686, allocations: 8 kB / 0.4894 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1686, allocations: 0 / 0.4894 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1686, allocations: 0 / 0.4894 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1688, allocations: 213.8 kB / 0.4896 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1689, allocations: 96.86 kB / 0.4897 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1689, allocations: 7.984 kB / 0.4897 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1691, allocations: 8 kB / 0.4897 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1691, allocations: 7.938 kB / 0.4897 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1691, allocations: 7.984 kB / 0.4897 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1692, allocations: 156.5 kB / 0.4899 GB, free: 8.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1692, allocations: 0 / 0.4899 GB, free: 8.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1697, allocations: 87.94 kB / 0.49 GB, free: 8.129 MB / 382.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.0006667/0.1704, allocations: 0.7968 MB / 0.4907 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1707, allocations: 185.8 kB / 0.4909 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1707, allocations: 0 / 0.4909 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.1708, allocations: 28.48 kB / 0.4909 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1712, allocations: 40.52 kB / 0.491 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.174, allocations: 2.793 MB / 0.4937 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1743, allocations: 0.7245 MB / 0.4944 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.1745, allocations: 50.92 kB / 0.4945 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.1746, allocations: 63.41 kB / 0.4945 GB, free: 3.012 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1746, allocations: 0 / 0.4945 GB, free: 3.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.1979, allocations: 5.163 MB / 0.4996 GB, free: 13.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.137, allocations: 11.73 kB / 0.4996 GB, free: 13.84 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches