Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 109.6 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 67.73 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1332, allocations: 62.46 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.0074/0.1407, allocations: 5.05 MB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.1457, allocations: 4.544 MB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1459, allocations: 0 / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.1464, allocations: 47.72 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1485, allocations: 0.6141 MB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.149, allocations: 154.9 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.1496, allocations: 370.1 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.1497, allocations: 9.688 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.15, allocations: 155.4 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1502, allocations: 127.5 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1502, allocations: 8 kB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.1512, allocations: 351.6 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1513, allocations: 51.75 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1515, allocations: 107.5 kB / 491.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.1524, allocations: 427.2 kB / 491.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1524, allocations: 0 / 491.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1524, allocations: 4 kB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1524, allocations: 0 / 491.6 MB, free: 9.461 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.001133/0.1536, allocations: 0.5891 MB / 492.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1536, allocations: 8.031 kB / 492.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.075e-05/0.1537, allocations: 58.72 kB / 492.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1539, allocations: 32.69 kB / 492.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1542, allocations: 228 kB / 492.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1543, allocations: 119.9 kB / 492.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1544, allocations: 24.12 kB / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.1549, allocations: 331.6 kB / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1549, allocations: 0 / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.155, allocations: 12 kB / 493 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.155, allocations: 8 kB / 493 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.1559, allocations: 0.739 MB / 493.7 MB, free: 7.184 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.001362/0.1572, allocations: 1.246 MB / 495 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.1576, allocations: 154.8 kB / 495.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1577, allocations: 76.83 kB / 495.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.1601, allocations: 2.655 MB / 497.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1601, allocations: 38.56 kB / 497.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1601, allocations: 3.938 kB / 497.9 MB, free: 2.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007108/0.1609, allocations: 224.7 kB / 498.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1609, allocations: 55.41 kB / 498.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1611, allocations: 222.5 kB / 498.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1611, allocations: 25.7 kB / 498.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1613, allocations: 210.8 kB / 498.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1613, allocations: 51.34 kB / 498.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1614, allocations: 81.94 kB / 498.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1616, allocations: 330.8 kB / 499 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.1617, allocations: 56.84 kB / 499.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1619, allocations: 308.3 kB / 499.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.1624, allocations: 415.5 kB / 499.8 MB, free: 128 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.1624, allocations: 4 kB / 499.8 MB, free: 124 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005798/0.163, allocations: 365.7 kB / 0.4884 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.163, allocations: 10.5 kB / 0.4885 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.163, allocations: 12 kB / 0.4885 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.1631, allocations: 15.94 kB / 0.4885 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1634, allocations: 111.8 kB / 0.4886 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.1635, allocations: 19.92 kB / 0.4886 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1637, allocations: 16 kB / 0.4886 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.1637, allocations: 28 kB / 0.4887 GB, free: 15.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001466/0.1639, allocations: 153.7 kB / 0.4888 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.164, allocations: 23.72 kB / 0.4888 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.1643, allocations: 147 kB / 0.489 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.1643, allocations: 7.938 kB / 0.489 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.1643, allocations: 0 / 0.489 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1644, allocations: 7.922 kB / 0.489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.1649, allocations: 438.7 kB / 0.4894 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1649, allocations: 3.938 kB / 0.4894 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1651, allocations: 35.91 kB / 0.4894 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1651, allocations: 4.031 kB / 0.4894 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1651, allocations: 4 kB / 0.4894 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1652, allocations: 4 kB / 0.4894 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1652, allocations: 3.984 kB / 0.4895 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1654, allocations: 208.2 kB / 0.4896 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1655, allocations: 112.7 kB / 0.4898 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1656, allocations: 3.938 kB / 0.4898 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1658, allocations: 20.12 kB / 0.4898 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1658, allocations: 11.92 kB / 0.4898 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1659, allocations: 11.98 kB / 0.4898 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.166, allocations: 148.4 kB / 0.4899 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.166, allocations: 0 / 0.4899 GB, free: 14.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.1665, allocations: 104 kB / 0.49 GB, free: 14.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0007765/0.1673, allocations: 0.8223 MB / 0.4908 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.1676, allocations: 177.5 kB / 0.491 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1677, allocations: 0 / 0.491 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.223e-05/0.1677, allocations: 39.92 kB / 0.4911 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.1682, allocations: 55.83 kB / 0.4911 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1713, allocations: 2.762 MB / 0.4938 GB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1716, allocations: 0.7245 MB / 0.4945 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.1719, allocations: 66.77 kB / 0.4946 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.172, allocations: 71.41 kB / 0.4946 GB, free: 8.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.172, allocations: 0 / 0.4946 GB, free: 8.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1906, allocations: 5.475 MB / 0.5 GB, free: 3.617 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.1908, allocations: 224.8 kB / 0.5002 GB, free: 3.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.169, allocations: 3.5 kB / 0.5002 GB, free: 3.359 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches