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.001423/0.001423, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.00127/0.00127, allocations: 190 kB / 17.2 MB, free: 5.574 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.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001623/0.001623, allocations: 72.47 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005761/0.1265, allocations: 4.534 MB / 445.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.1305, allocations: 4.014 MB / 449.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1307, allocations: 7.938 kB / 449.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1311, allocations: 51.67 kB / 449.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.133, allocations: 0.7226 MB / 449.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1334, allocations: 127.4 kB / 450.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.1341, allocations: 374.1 kB / 450.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.1342, allocations: 13.67 kB / 450.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.1345, allocations: 135.5 kB / 450.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.1348, allocations: 155.4 kB / 450.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1349, allocations: 8 kB / 450.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1361, allocations: 423.5 kB / 451.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.1362, allocations: 47.81 kB / 451.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1364, allocations: 103.5 kB / 451.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1374, allocations: 475 kB / 451.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1374, allocations: 0 / 451.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1374, allocations: 0 / 451.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1374, allocations: 4 kB / 451.8 MB, free: 11.6 MB / 334.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.0013/0.1387, allocations: 0.5969 MB / 452.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1388, allocations: 11.89 kB / 452.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.1389, allocations: 66.66 kB / 452.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1391, allocations: 28.75 kB / 452.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1394, allocations: 224.1 kB / 452.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.1395, allocations: 123.9 kB / 452.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.1396, allocations: 24.12 kB / 452.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.1401, allocations: 327.6 kB / 453.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1401, allocations: 4 kB / 453.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.1402, allocations: 8 kB / 453.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1402, allocations: 8 kB / 453.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.141, allocations: 0.739 MB / 453.9 MB, free: 9.309 MB / 334.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.001629/0.1426, allocations: 1.304 MB / 455.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.143, allocations: 175.6 kB / 455.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1432, allocations: 81.48 kB / 455.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.146, allocations: 2.809 MB / 458.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1461, allocations: 38.55 kB / 458.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1461, allocations: 4 kB / 458.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002842/0.1464, allocations: 121.3 kB / 458.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1464, allocations: 51.41 kB / 458.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1466, allocations: 223.8 kB / 458.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1466, allocations: 25.7 kB / 458.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1468, allocations: 226.5 kB / 459 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1468, allocations: 43.44 kB / 459 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.1469, allocations: 85.94 kB / 459.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.147, allocations: 330.8 kB / 459.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.1471, allocations: 44.84 kB / 459.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.1474, allocations: 347.2 kB / 459.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.1479, allocations: 448.5 kB / 460.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.1479, allocations: 4 kB / 460.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006056/0.1485, allocations: 381.1 kB / 460.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1485, allocations: 8 kB / 460.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1485, allocations: 12 kB / 460.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.1486, allocations: 20.72 kB / 460.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.1488, allocations: 95.83 kB / 460.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.1489, allocations: 23.94 kB / 460.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1491, allocations: 43.53 kB / 460.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1492, allocations: 31.98 kB / 460.8 MB, free: 1.371 MB / 334.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.0001319/0.1493, allocations: 154.6 kB / 461 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1494, allocations: 19.72 kB / 461 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.1497, allocations: 152.4 kB / 461.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.1497, allocations: 4 kB / 461.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1497, allocations: 0 / 461.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1497, allocations: 0 / 461.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1501, allocations: 412.8 kB / 461.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1502, allocations: 0 / 461.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1502, allocations: 19.97 kB / 461.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1502, allocations: 3.984 kB / 461.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1502, allocations: 0 / 461.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.1503, allocations: 4 kB / 461.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1503, allocations: 96 / 461.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.1504, allocations: 205.8 kB / 461.8 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1505, allocations: 100.9 kB / 461.9 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1506, allocations: 7.906 kB / 461.9 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1507, allocations: 7.984 kB / 461.9 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.1508, allocations: 0 / 461.9 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1508, allocations: 12 kB / 461.9 MB, free: 168 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1509, allocations: 152.5 kB / 462.1 MB, free: 12 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1509, allocations: 7.938 kB / 462.1 MB, free: 4 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.1515, allocations: 96 kB / 462.2 MB, free: 15.91 MB / 350.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.0007338/0.1522, allocations: 0.8005 MB / 463 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.1525, allocations: 173.4 kB / 463.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1526, allocations: 0 / 463.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.1526, allocations: 15.94 kB / 463.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.1531, allocations: 47.03 kB / 463.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.1565, allocations: 2.797 MB / 466 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1568, allocations: 0.7245 MB / 466.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.1571, allocations: 54.92 kB / 466.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.1571, allocations: 63.8 kB / 466.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1572, allocations: 0 / 466.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.1802, allocations: 5.135 MB / 472 MB, free: 5.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/8.792, allocations: 12.84 kB / 472 MB, free: 5.664 MB / 350.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches