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.001025/0.001025, allocations: 107.1 kB / 15.98 MB, free: 6.348 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.00105/0.00105, allocations: 190 kB / 16.91 MB, free: 6.191 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.57/1.57, allocations: 205.1 MB / 222.8 MB, free: 12.49 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.2354/0.2354, allocations: 43.51 MB / 313.6 MB, free: 0.7031 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.001487/0.001487, allocations: 63.03 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 57.79 MB / 440.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006001/0.1258, allocations: 4.583 MB / 444.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.1296, allocations: 4.002 MB / 448.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.1297, allocations: 0 / 448.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.13, allocations: 39.73 kB / 448.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1318, allocations: 0.6687 MB / 449.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1321, allocations: 127.7 kB / 449.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1327, allocations: 370.1 kB / 449.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.1327, allocations: 17.67 kB / 449.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1329, allocations: 143.4 kB / 450 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1332, allocations: 155.4 kB / 450.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1332, allocations: 8 kB / 450.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.134, allocations: 435.3 kB / 450.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.1341, allocations: 47.81 kB / 450.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1342, allocations: 111.5 kB / 450.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.1349, allocations: 475.1 kB / 451.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1349, allocations: 0 / 451.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1349, allocations: 0 / 451.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1349, allocations: 0 / 451.2 MB, free: 12.06 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.001194/0.1361, allocations: 0.6008 MB / 451.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1362, allocations: 15.89 kB / 451.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/0.1363, allocations: 58.72 kB / 451.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1364, allocations: 24.75 kB / 451.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1367, allocations: 228 kB / 452.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1369, allocations: 123.9 kB / 452.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1369, allocations: 24.12 kB / 452.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.1374, allocations: 327.6 kB / 452.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1374, allocations: 0 / 452.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.1375, allocations: 12 kB / 452.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.1375, allocations: 8 kB / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.1383, allocations: 0.739 MB / 453.4 MB, free: 9.766 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.001319/0.1396, allocations: 1.308 MB / 454.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.1399, allocations: 163.6 kB / 454.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1401, allocations: 85.47 kB / 454.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002476/0.1426, allocations: 2.821 MB / 457.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1426, allocations: 38.5 kB / 457.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1426, allocations: 0 / 457.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000289/0.1429, allocations: 109.4 kB / 457.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.143, allocations: 59.39 kB / 458 MB, free: 4.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1431, allocations: 215.8 kB / 458.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1432, allocations: 37.64 kB / 458.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1433, allocations: 222.6 kB / 458.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1434, allocations: 47.44 kB / 458.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.1435, allocations: 85.94 kB / 458.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1436, allocations: 326.8 kB / 458.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.1437, allocations: 44.84 kB / 458.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1441, allocations: 347.2 kB / 459.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.1445, allocations: 444.6 kB / 459.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1445, allocations: 8 kB / 459.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005145/0.145, allocations: 377.8 kB / 460.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1451, allocations: 12.03 kB / 460.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.1451, allocations: 12 kB / 460.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.1451, allocations: 15.94 kB / 460.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.1453, allocations: 99.83 kB / 460.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.1454, allocations: 23.86 kB / 460.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1456, allocations: 51.53 kB / 460.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1456, allocations: 32 kB / 460.3 MB, free: 1.82 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.0001277/0.1458, allocations: 150.7 kB / 460.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1458, allocations: 23.72 kB / 460.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1461, allocations: 144.8 kB / 460.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1461, allocations: 4 kB / 460.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1461, allocations: 4 kB / 460.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1462, allocations: 4.031 kB / 460.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1466, allocations: 408.8 kB / 461 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1466, allocations: 4 kB / 461 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.1467, allocations: 11.98 kB / 461 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1467, allocations: 4.094 kB / 461 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1467, allocations: 8 kB / 461.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1467, allocations: 4 kB / 461.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1467, allocations: 0 / 461.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1469, allocations: 201.8 kB / 461.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.147, allocations: 96.92 kB / 461.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.147, allocations: 11.89 kB / 461.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1472, allocations: 4.188 kB / 461.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.1472, allocations: 7.938 kB / 461.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1472, allocations: 11.92 kB / 461.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1473, allocations: 160.4 kB / 461.5 MB, free: 464 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 461.5 MB, free: 464 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.1478, allocations: 91.94 kB / 461.6 MB, free: 372 kB / 334.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.0007475/0.1486, allocations: 0.7927 MB / 462.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1489, allocations: 178.3 kB / 462.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1489, allocations: 0 / 462.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.1489, allocations: 32.05 kB / 462.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.1493, allocations: 40.41 kB / 462.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.1527, allocations: 2.856 MB / 465.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.153, allocations: 0.7245 MB / 466.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.1533, allocations: 54.92 kB / 466.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.1534, allocations: 67.34 kB / 466.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1534, allocations: 0 / 466.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1709, allocations: 5.059 MB / 471.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.1712, allocations: 202.3 kB / 471.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.132, allocations: 0 / 471.6 MB, free: 5.926 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches