Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001027/0.001027, allocations: 107 kB / 17.33 MB, free: 6 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.0009796/0.0009796, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.322/1.322, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2077/0.2077, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.95 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 60.81 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006706/0.135, allocations: 4.578 MB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1398, allocations: 3.991 MB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1401, allocations: 4 kB / 477.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.1405, allocations: 55.7 kB / 477.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.1428, allocations: 0.6686 MB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1432, allocations: 134.9 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.1439, allocations: 362.3 kB / 478.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.144, allocations: 9.688 kB / 478.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.1444, allocations: 151.3 kB / 478.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1448, allocations: 155.4 kB / 478.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.1448, allocations: 8 kB / 478.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1461, allocations: 439.3 kB / 479.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1462, allocations: 47.75 kB / 479.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1464, allocations: 103.5 kB / 479.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1475, allocations: 471 kB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1476, allocations: 0 / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1476, allocations: 4 kB / 479.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1476, allocations: 4 kB / 480 MB, free: 3.449 MB / 350.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.001289/0.1489, allocations: 0.5931 MB / 480.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1489, allocations: 11.97 kB / 480.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.843e-05/0.149, allocations: 66.72 kB / 480.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1492, allocations: 24.75 kB / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1495, allocations: 228 kB / 480.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1497, allocations: 123.9 kB / 481 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1497, allocations: 28.12 kB / 481 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.1503, allocations: 327.6 kB / 481.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1503, allocations: 0 / 481.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1504, allocations: 8 kB / 481.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.1504, allocations: 4 kB / 481.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.1512, allocations: 0.7429 MB / 482.1 MB, free: 1.16 MB / 350.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.00143/0.1526, allocations: 1.3 MB / 483.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.153, allocations: 171.7 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1532, allocations: 81.48 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.1559, allocations: 2.802 MB / 486.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1559, allocations: 34.56 kB / 486.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.1559, allocations: 4 kB / 486.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003171/0.1563, allocations: 129.2 kB / 486.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1563, allocations: 55.34 kB / 486.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1565, allocations: 223.9 kB / 486.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1566, allocations: 25.7 kB / 486.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1567, allocations: 214.7 kB / 487.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1567, allocations: 55.36 kB / 487.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1569, allocations: 81.95 kB / 487.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.157, allocations: 330.8 kB / 487.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.1571, allocations: 48.84 kB / 487.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1574, allocations: 339.2 kB / 487.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.1579, allocations: 448.6 kB / 488.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.1579, allocations: 4 kB / 488.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005992/0.1585, allocations: 377 kB / 488.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1586, allocations: 14.5 kB / 488.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1586, allocations: 8.875 kB / 488.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.1586, allocations: 19.94 kB / 488.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.1589, allocations: 103.8 kB / 488.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.1589, allocations: 19.94 kB / 488.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.1592, allocations: 55.44 kB / 489 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.1593, allocations: 27.98 kB / 489 MB, free: 9.227 MB / 366.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.0001459/0.1594, allocations: 149.6 kB / 489.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.1595, allocations: 23.75 kB / 489.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.1598, allocations: 148.4 kB / 489.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.1598, allocations: 0 / 489.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1598, allocations: 0 / 489.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1598, allocations: 0 / 489.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.1604, allocations: 412.8 kB / 489.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1604, allocations: 4.062 kB / 489.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.1604, allocations: 15.98 kB / 489.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1605, allocations: 0 / 489.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1605, allocations: 8 kB / 489.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1605, allocations: 0 / 489.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1605, allocations: 7.938 kB / 489.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1607, allocations: 205.8 kB / 490 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.1608, allocations: 100.8 kB / 490.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1608, allocations: 48 / 490.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.161, allocations: 11.97 kB / 490.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.161, allocations: 12 kB / 490.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.161, allocations: 4 kB / 490.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1612, allocations: 156.5 kB / 490.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1612, allocations: 0 / 490.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.1617, allocations: 91.92 kB / 490.3 MB, free: 7.773 MB / 366.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.0007199/0.1624, allocations: 0.7934 MB / 491.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.1628, allocations: 176.7 kB / 491.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1628, allocations: 0 / 491.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.1628, allocations: 25.62 kB / 491.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1633, allocations: 48.95 kB / 491.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.1663, allocations: 2.864 MB / 494.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1666, allocations: 0.7285 MB / 495 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.1669, allocations: 50.92 kB / 495 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.1669, allocations: 63.36 kB / 495.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1669, allocations: 0 / 495.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1843, allocations: 5.063 MB / 0.4884 GB, free: 13.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.1845, allocations: 214.7 kB / 0.4886 GB, free: 13.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.089, allocations: 0 / 0.4886 GB, free: 13.41 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches