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.001499/0.001499, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001632/0.001632, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.395/1.395, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2156/0.2156, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.55 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1113, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.0061/0.1175, allocations: 4.536 MB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.1224, allocations: 4.006 MB / 477.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1226, allocations: 4 kB / 477.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.123, allocations: 55.61 kB / 478 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.1251, allocations: 0.7265 MB / 478.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1255, allocations: 130.4 kB / 478.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.1261, allocations: 374.2 kB / 479.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.1262, allocations: 9.688 kB / 479.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1264, allocations: 147.4 kB / 479.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.1267, allocations: 147.5 kB / 479.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1268, allocations: 12 kB / 479.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1279, allocations: 427.5 kB / 479.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.128, allocations: 43.77 kB / 479.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1282, allocations: 107.5 kB / 480 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.1289, allocations: 471.1 kB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1289, allocations: 0 / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1289, allocations: 0 / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1289, allocations: 0 / 480.5 MB, free: 3.066 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.001173/0.1301, allocations: 0.5959 MB / 481.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1302, allocations: 8.031 kB / 481.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.1302, allocations: 62.72 kB / 481.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.1304, allocations: 24.75 kB / 481.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1307, allocations: 232 kB / 481.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.1308, allocations: 123.9 kB / 481.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1308, allocations: 28.12 kB / 481.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.1313, allocations: 319.6 kB / 481.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1314, allocations: 8 kB / 481.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1314, allocations: 4 kB / 481.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1314, allocations: 8 kB / 481.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.1322, allocations: 0.739 MB / 482.6 MB, free: 0.7852 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.001437/0.1336, allocations: 1.304 MB / 483.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.134, allocations: 171.7 kB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1342, allocations: 81.48 kB / 484.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002467/0.1366, allocations: 2.806 MB / 487 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1367, allocations: 30.56 kB / 487 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.1367, allocations: 0 / 487 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003131/0.137, allocations: 129.2 kB / 487.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1371, allocations: 55.39 kB / 487.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1373, allocations: 219.9 kB / 487.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1373, allocations: 25.7 kB / 487.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1374, allocations: 222.6 kB / 487.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1375, allocations: 47.39 kB / 487.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.1376, allocations: 85.94 kB / 487.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1377, allocations: 326.8 kB / 488.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.1378, allocations: 52.84 kB / 488.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.138, allocations: 339.2 kB / 488.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.1385, allocations: 452.5 kB / 488.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.1385, allocations: 4 kB / 488.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005705/0.1391, allocations: 377.2 kB / 489.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1391, allocations: 8 kB / 489.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1391, allocations: 12 kB / 489.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.1392, allocations: 19.94 kB / 489.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1394, allocations: 96.48 kB / 489.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.1394, allocations: 19.92 kB / 489.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.1397, allocations: 63.42 kB / 489.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.1397, allocations: 28 kB / 489.6 MB, free: 8.848 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.0001508/0.1399, allocations: 157.5 kB / 489.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.1399, allocations: 19.75 kB / 489.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.1402, allocations: 148.4 kB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.1403, allocations: 4 kB / 489.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1403, allocations: 0 / 489.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1403, allocations: 0 / 489.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.1408, allocations: 408.8 kB / 490.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1408, allocations: 0 / 490.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.1409, allocations: 15.98 kB / 490.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1409, allocations: 0 / 490.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1409, allocations: 7.938 kB / 490.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1409, allocations: 4 kB / 490.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1409, allocations: 0 / 490.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1412, allocations: 213.8 kB / 490.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.1413, allocations: 92.92 kB / 490.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.1413, allocations: 7.984 kB / 490.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1415, allocations: 4 kB / 490.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.1415, allocations: 4 kB / 490.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1415, allocations: 7.984 kB / 490.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1416, allocations: 160.5 kB / 490.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1417, allocations: 4 kB / 490.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.1422, allocations: 91.94 kB / 490.9 MB, free: 7.395 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.0007608/0.1429, allocations: 0.8011 MB / 491.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.1432, allocations: 169.8 kB / 491.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1432, allocations: 4 kB / 491.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1433, allocations: 23.92 kB / 491.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1437, allocations: 45.2 kB / 491.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.147, allocations: 2.797 MB / 494.7 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1473, allocations: 0.7285 MB / 495.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.1475, allocations: 54.92 kB / 495.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.1476, allocations: 59.41 kB / 495.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1476, allocations: 0 / 495.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1713, allocations: 5.141 MB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.913, allocations: 12.97 kB / 0.489 GB, free: 13.21 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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