Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 82.8 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 62.45 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006412/0.1245, allocations: 4.596 MB / 485.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.1292, allocations: 4.006 MB / 489.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1293, allocations: 0 / 489.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.1297, allocations: 55.61 kB / 489.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1315, allocations: 0.7305 MB / 490.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1319, allocations: 138.8 kB / 490.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.1324, allocations: 370.2 kB / 490.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.1324, allocations: 13.67 kB / 490.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1326, allocations: 139.5 kB / 490.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1329, allocations: 147.5 kB / 490.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1329, allocations: 8 kB / 490.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.1339, allocations: 435.4 kB / 491.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.134, allocations: 39.83 kB / 491.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1341, allocations: 107.5 kB / 491.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.1349, allocations: 471.1 kB / 492 MB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1349, allocations: 0 / 492 MB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1349, allocations: 4 kB / 492 MB, free: 9.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1349, allocations: 0 / 492 MB, free: 9.984 MB / 366.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.001178/0.1361, allocations: 0.5891 MB / 492.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1361, allocations: 12.03 kB / 492.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1363, allocations: 32.73 kB / 492.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1366, allocations: 224 kB / 492.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.1367, allocations: 131.9 kB / 493 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1368, allocations: 20.38 kB / 493 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.1373, allocations: 327.6 kB / 493.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1373, allocations: 0 / 493.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1374, allocations: 12 kB / 493.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.1374, allocations: 8 kB / 493.3 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.1383, allocations: 0.739 MB / 494.1 MB, free: 7.766 MB / 366.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.001555/0.1398, allocations: 1.308 MB / 495.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1402, allocations: 159.8 kB / 495.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1404, allocations: 93.41 kB / 495.6 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/0.1432, allocations: 2.802 MB / 498.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1433, allocations: 30.56 kB / 498.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 4.679e-06/0.1433, allocations: 4 kB / 498.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003263/0.1436, allocations: 129.2 kB / 498.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1437, allocations: 51.41 kB / 498.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1439, allocations: 217.2 kB / 498.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1439, allocations: 29.7 kB / 498.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1441, allocations: 214.6 kB / 499.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.1441, allocations: 47.39 kB / 499.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.1442, allocations: 81.94 kB / 499.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1444, allocations: 334.8 kB / 499.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.1445, allocations: 48.84 kB / 499.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1448, allocations: 343.2 kB / 499.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.1453, allocations: 444.5 kB / 0.4886 GB, free: 476 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1454, allocations: 4 kB / 0.4886 GB, free: 472 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005909/0.146, allocations: 385.1 kB / 0.489 GB, free: 80 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.146, allocations: 11.94 kB / 0.489 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.146, allocations: 12 kB / 0.489 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.146, allocations: 16.66 kB / 0.489 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1463, allocations: 99.83 kB / 0.4891 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.1463, allocations: 23.92 kB / 0.4891 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1466, allocations: 51.44 kB / 0.4892 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.1466, allocations: 35.97 kB / 0.4892 GB, free: 15.83 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 0.0001429/0.1468, allocations: 153.5 kB / 0.4894 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.1468, allocations: 23.84 kB / 0.4894 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.1471, allocations: 140.5 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1472, allocations: 3.938 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1472, allocations: 3.984 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1472, allocations: 0 / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.1477, allocations: 404.9 kB / 0.4899 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1477, allocations: 64 / 0.4899 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.1478, allocations: 19.94 kB / 0.4899 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1478, allocations: 4 kB / 0.4899 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1478, allocations: 3.984 kB / 0.49 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1478, allocations: 0 / 0.49 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1478, allocations: 4 kB / 0.49 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.148, allocations: 205.9 kB / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.774e-05/0.1481, allocations: 104.8 kB / 0.4903 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1482, allocations: 3.984 kB / 0.4903 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1483, allocations: 4 kB / 0.4903 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1484, allocations: 11.98 kB / 0.4903 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1484, allocations: 4 kB / 0.4903 GB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1485, allocations: 160.7 kB / 0.4904 GB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1486, allocations: 0 / 0.4904 GB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.1491, allocations: 99.86 kB / 0.4905 GB, free: 14.38 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.0003677/0.1494, allocations: 155.1 kB / 0.4907 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.1498, allocations: 174.1 kB / 0.4908 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1498, allocations: 0 / 0.4908 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.1498, allocations: 23.92 kB / 0.4909 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.1503, allocations: 54.11 kB / 0.4909 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1514, allocations: 0.5598 MB / 0.4915 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1517, allocations: 0.7245 MB / 0.4922 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.1518, allocations: 31.38 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1518, allocations: 4 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005874/0.1577, allocations: 3.313 MB / 0.4954 GB, free: 9.289 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches