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: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001109/0.001109, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.361/1.361, allocations: 205.1 MB / 223.7 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.2176/0.2176, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001761/0.001761, allocations: 66.03 kB / 383.4 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1169, allocations: 57.8 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005272/0.1223, allocations: 4.539 MB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.1262, allocations: 4.01 MB / 449.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1263, allocations: 0 / 449.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1267, allocations: 63.58 kB / 449.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.1288, allocations: 0.7149 MB / 450.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.1292, allocations: 139.5 kB / 450.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.1297, allocations: 362.2 kB / 451 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.1298, allocations: 17.67 kB / 451 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.13, allocations: 135.5 kB / 451.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.1303, allocations: 151.5 kB / 451.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1303, allocations: 11.94 kB / 451.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1314, allocations: 423.5 kB / 451.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.1315, allocations: 47.81 kB / 451.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1316, allocations: 107.5 kB / 451.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.1324, allocations: 471.1 kB / 452.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1324, allocations: 0 / 452.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1324, allocations: 0 / 452.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.1324, allocations: 0 / 452.3 MB, free: 11.72 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.001185/0.1336, allocations: 0.5931 MB / 452.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1337, allocations: 11.89 kB / 452.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1339, allocations: 32.64 kB / 453 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1341, allocations: 224 kB / 453.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.1343, allocations: 131.9 kB / 453.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1343, allocations: 20.38 kB / 453.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.1348, allocations: 327.6 kB / 453.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1349, allocations: 4 kB / 453.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1349, allocations: 12 kB / 453.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1349, allocations: 4 kB / 453.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.1358, allocations: 0.7468 MB / 454.4 MB, free: 9.492 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.001439/0.1372, allocations: 1.3 MB / 455.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.1376, allocations: 163.8 kB / 455.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1377, allocations: 93.34 kB / 456 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/0.1404, allocations: 2.813 MB / 458.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1404, allocations: 34.56 kB / 458.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.1404, allocations: 0 / 458.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003082/0.1407, allocations: 117.3 kB / 458.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1408, allocations: 59.41 kB / 459 MB, free: 4.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.141, allocations: 219.8 kB / 459.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1411, allocations: 25.7 kB / 459.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1412, allocations: 222.6 kB / 459.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.1412, allocations: 47.44 kB / 459.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.1413, allocations: 81.97 kB / 459.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1415, allocations: 334.8 kB / 459.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1416, allocations: 56.84 kB / 460 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1419, allocations: 347.2 kB / 460.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.1423, allocations: 432.6 kB / 460.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1423, allocations: 4 kB / 460.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005463/0.1429, allocations: 389.2 kB / 461.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1429, allocations: 12 kB / 461.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1429, allocations: 8 kB / 461.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/0.143, allocations: 19.98 kB / 461.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1432, allocations: 103.8 kB / 461.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.1433, allocations: 20.5 kB / 461.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1435, allocations: 51.53 kB / 461.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.1435, allocations: 28 kB / 461.3 MB, free: 1.547 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.0001393/0.1437, allocations: 153.6 kB / 461.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.1437, allocations: 23.72 kB / 461.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.144, allocations: 136.6 kB / 461.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1441, allocations: 3.938 kB / 461.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1441, allocations: 0 / 461.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1441, allocations: 3.984 kB / 461.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.1446, allocations: 420.7 kB / 462.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1446, allocations: 0 / 462.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.1446, allocations: 12 kB / 462.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1447, allocations: 0 / 462.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1447, allocations: 4 kB / 462.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1447, allocations: 3.984 kB / 462.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1447, allocations: 0 / 462.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.1449, allocations: 209.9 kB / 462.3 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.145, allocations: 96.91 kB / 462.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.145, allocations: 4 kB / 462.4 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1452, allocations: 4 kB / 462.4 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1452, allocations: 15.98 kB / 462.4 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1452, allocations: 8 kB / 462.4 MB, free: 352 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1454, allocations: 156.5 kB / 462.6 MB, free: 196 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 462.6 MB, free: 196 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.1459, allocations: 99.84 kB / 462.7 MB, free: 96 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.0003607/0.1463, allocations: 159.1 kB / 462.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1466, allocations: 172.6 kB / 463 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1466, allocations: 1.812 kB / 463 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.1466, allocations: 23.92 kB / 463 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1471, allocations: 49.73 kB / 463.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1481, allocations: 0.5676 MB / 463.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1484, allocations: 0.7285 MB / 464.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.1485, allocations: 23.44 kB / 464.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1485, allocations: 0 / 464.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.005861/0.1544, allocations: 3.324 MB / 467.7 MB, free: 10.98 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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