Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009471/0.0009475, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2743/0.2743, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 8.281 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005638/0.1499, allocations: 4.275 MB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.1549, allocations: 4.007 MB / 491.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1551, allocations: 4 kB / 491.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1555, allocations: 51.72 kB / 491.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.1577, allocations: 0.6492 MB / 492.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1581, allocations: 123.4 kB / 492.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.1588, allocations: 446 kB / 492.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.1589, allocations: 13.67 kB / 492.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1592, allocations: 143.4 kB / 492.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.1596, allocations: 155.4 kB / 493 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1596, allocations: 8 kB / 493 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1608, allocations: 431.3 kB / 493.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.161, allocations: 47.75 kB / 493.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.1612, allocations: 141.1 kB / 493.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1624, allocations: 471 kB / 494.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1624, allocations: 0 / 494.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1624, allocations: 0 / 494.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.1624, allocations: 0 / 494.1 MB, free: 9.109 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.001287/0.1637, allocations: 0.5484 MB / 494.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1638, allocations: 8.875 kB / 494.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.725e-05/0.1639, allocations: 58.72 kB / 494.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1641, allocations: 28.75 kB / 494.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1644, allocations: 224 kB / 495 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.1645, allocations: 119.9 kB / 495.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.1645, allocations: 28.12 kB / 495.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.1651, allocations: 331.6 kB / 495.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1651, allocations: 0 / 495.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1652, allocations: 12 kB / 495.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.1652, allocations: 11.94 kB / 495.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.166, allocations: 0.739 MB / 496.2 MB, free: 6.875 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.001678/0.1677, allocations: 1.308 MB / 497.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1681, allocations: 167.6 kB / 497.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1683, allocations: 85.48 kB / 497.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002708/0.171, allocations: 2.802 MB / 0.4888 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.171, allocations: 34.56 kB / 0.4888 GB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.171, allocations: 0 / 0.4888 GB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000308/0.1714, allocations: 121.3 kB / 0.489 GB, free: 1.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1714, allocations: 51.41 kB / 0.489 GB, free: 1.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1716, allocations: 225.1 kB / 0.4892 GB, free: 1.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1717, allocations: 29.7 kB / 0.4893 GB, free: 1.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1719, allocations: 214.6 kB / 0.4895 GB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1719, allocations: 55.38 kB / 0.4895 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.172, allocations: 33.7 kB / 0.4895 GB, free: 1.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1721, allocations: 326.8 kB / 0.4899 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.1722, allocations: 44.84 kB / 0.4899 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1725, allocations: 347.2 kB / 0.4902 GB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.173, allocations: 444.5 kB / 0.4907 GB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.173, allocations: 4 kB / 0.4907 GB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006403/0.1737, allocations: 385.7 kB / 0.491 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1737, allocations: 10.81 kB / 0.491 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1737, allocations: 20.09 kB / 0.4911 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.1738, allocations: 15.94 kB / 0.4911 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.174, allocations: 99.83 kB / 0.4912 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.1741, allocations: 19.92 kB / 0.4912 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.1744, allocations: 51.44 kB / 0.4912 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.1744, allocations: 28 kB / 0.4913 GB, free: 14.99 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.0001492/0.1746, allocations: 153.5 kB / 0.4914 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.1746, allocations: 19.81 kB / 0.4914 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.175, allocations: 148.4 kB / 0.4916 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.175, allocations: 0 / 0.4916 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.175, allocations: 8 kB / 0.4916 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.175, allocations: 0 / 0.4916 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.1755, allocations: 404.8 kB / 0.492 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1756, allocations: 4 kB / 0.492 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.1756, allocations: 15.92 kB / 0.492 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1756, allocations: 4.047 kB / 0.492 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1757, allocations: 3.984 kB / 0.492 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1757, allocations: 8.094 kB / 0.492 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1757, allocations: 0 / 0.492 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1759, allocations: 209.8 kB / 0.4922 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.176, allocations: 100.9 kB / 0.4923 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1761, allocations: 4.188 kB / 0.4923 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1762, allocations: 15.98 kB / 0.4923 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.1763, allocations: 7.938 kB / 0.4923 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1763, allocations: 4 kB / 0.4923 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1765, allocations: 156.5 kB / 0.4925 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1765, allocations: 0 / 0.4925 GB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000594/0.1771, allocations: 95.92 kB / 0.4926 GB, free: 13.53 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.001037/0.1781, allocations: 0.8004 MB / 0.4933 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1785, allocations: 169.8 kB / 0.4935 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1786, allocations: 0 / 0.4935 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.1786, allocations: 24.61 kB / 0.4935 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.1791, allocations: 44.59 kB / 0.4936 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.1829, allocations: 2.902 MB / 0.4964 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1832, allocations: 0.7287 MB / 0.4971 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.1835, allocations: 54.91 kB / 0.4972 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1837, allocations: 63.42 kB / 0.4972 GB, free: 8.301 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1837, allocations: 3.938 kB / 0.4972 GB, free: 8.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.2011, allocations: 4.881 MB / 0.502 GB, free: 3.555 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.2014, allocations: 218.2 kB / 0.5022 GB, free: 3.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.047, allocations: 0 / 0.5022 GB, free: 3.293 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches