Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_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.005826/0.005826, allocations: 101 kB / 15.87 MB, free: 6.309 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.001205/0.001205, allocations: 191.7 kB / 16.79 MB, free: 6.238 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.507/1.507, allocations: 205.1 MB / 222.6 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3599/0.3599, allocations: 43.49 MB / 313.5 MB, free: 8.535 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.001934/0.001934, allocations: 75.89 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 57.79 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007237/0.1396, allocations: 4.597 MB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.1445, allocations: 4.072 MB / 448.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.1448, allocations: 0 / 448.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1453, allocations: 47.73 kB / 448.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.1475, allocations: 0.6609 MB / 449.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1478, allocations: 123.8 kB / 449.4 MB, free: 5.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.1486, allocations: 438.1 kB / 449.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.1486, allocations: 17.66 kB / 449.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1489, allocations: 143.4 kB / 450 MB, free: 4.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1492, allocations: 159.4 kB / 450.2 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.1493, allocations: 4 kB / 450.2 MB, free: 4.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1504, allocations: 435.3 kB / 450.6 MB, free: 4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1506, allocations: 47.75 kB / 450.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1507, allocations: 111.4 kB / 450.7 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.1519, allocations: 475.1 kB / 451.2 MB, free: 3.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1519, allocations: 4 kB / 451.2 MB, free: 3.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1519, allocations: 0 / 451.2 MB, free: 3.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1519, allocations: 0 / 451.2 MB, free: 3.375 MB / 382.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.001257/0.1532, allocations: 0.5931 MB / 451.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1532, allocations: 12.03 kB / 451.8 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.745e-05/0.1533, allocations: 62.72 kB / 451.9 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.1535, allocations: 28.66 kB / 451.9 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1538, allocations: 220.1 kB / 452.1 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.1539, allocations: 119.9 kB / 452.2 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.154, allocations: 32.12 kB / 452.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.1545, allocations: 323.6 kB / 452.6 MB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1545, allocations: 4 kB / 452.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1546, allocations: 8 kB / 452.6 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.1546, allocations: 11.98 kB / 452.6 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.1555, allocations: 0.7352 MB / 453.3 MB, free: 1.094 MB / 382.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.2105/0.366, allocations: 1.308 MB / 454.7 MB, free: 48.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.3665, allocations: 160.4 kB / 454.8 MB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3666, allocations: 88.61 kB / 454.9 MB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.3686, allocations: 2.814 MB / 457.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3687, allocations: 34.5 kB / 457.7 MB, free: 45.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3687, allocations: 0 / 457.7 MB, free: 45.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002734/0.3689, allocations: 115 kB / 457.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.369, allocations: 54.84 kB / 457.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3692, allocations: 221.7 kB / 458.1 MB, free: 45.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3692, allocations: 29.2 kB / 458.2 MB, free: 45.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.3693, allocations: 225.6 kB / 458.4 MB, free: 45.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3693, allocations: 40.25 kB / 458.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.3694, allocations: 86.81 kB / 458.5 MB, free: 45.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.3695, allocations: 329 kB / 458.8 MB, free: 45.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.3696, allocations: 48.97 kB / 458.9 MB, free: 45.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.3698, allocations: 340.8 kB / 459.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3701, allocations: 448 kB / 459.6 MB, free: 44.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3701, allocations: 2.875 kB / 459.6 MB, free: 44.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004805/0.3706, allocations: 385.9 kB / 460 MB, free: 44.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3707, allocations: 8.719 kB / 460 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3707, allocations: 16.17 kB / 460 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3707, allocations: 18.12 kB / 460.1 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3709, allocations: 95.75 kB / 460.2 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.3709, allocations: 22.06 kB / 460.2 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.3712, allocations: 53.12 kB / 460.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3712, allocations: 34.33 kB / 460.3 MB, free: 44.3 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 9.265e-05/0.3713, allocations: 150 kB / 460.4 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3713, allocations: 19.06 kB / 460.4 MB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.3716, allocations: 140.9 kB / 460.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3716, allocations: 6.812 kB / 460.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3716, allocations: 3.422 kB / 460.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3716, allocations: 1.312 kB / 460.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.372, allocations: 417.6 kB / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.372, allocations: 0 / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.3721, allocations: 15.91 kB / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3721, allocations: 0 / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3721, allocations: 2.594 kB / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3721, allocations: 3.281 kB / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3721, allocations: 3.969 kB / 461 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3723, allocations: 213 kB / 461.2 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.3723, allocations: 97.84 kB / 461.3 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.3724, allocations: 3.656 kB / 461.3 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3725, allocations: 6.328 kB / 461.3 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.3725, allocations: 16.28 kB / 461.3 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3726, allocations: 7.094 kB / 461.3 MB, free: 43.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3727, allocations: 151.5 kB / 461.5 MB, free: 43.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3727, allocations: 0 / 461.5 MB, free: 43.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.3731, allocations: 95.5 kB / 461.6 MB, free: 43.42 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.0005397/0.3737, allocations: 0.7988 MB / 462.4 MB, free: 42.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3739, allocations: 171.6 kB / 462.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.374, allocations: 0 / 462.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.374, allocations: 26.5 kB / 462.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3744, allocations: 46.75 kB / 462.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3768, allocations: 2.852 MB / 465.5 MB, free: 40.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.377, allocations: 0.7264 MB / 466.2 MB, free: 39.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.3773, allocations: 49.77 kB / 466.3 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.3774, allocations: 61.73 kB / 466.3 MB, free: 39.76 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3774, allocations: 0 / 466.3 MB, free: 39.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.3928, allocations: 4.955 MB / 471.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.393, allocations: 218.4 kB / 471.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.233, allocations: 7.938 kB / 471.5 MB, free: 38.91 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches