Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001506/0.001506, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.001716/0.001716, allocations: 193.3 kB / 18.9 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.17 MB / 336.9 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.08 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005767/0.1152, allocations: 4.57 MB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.1193, allocations: 3.991 MB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1195, allocations: 0 / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1198, allocations: 51.72 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.1217, allocations: 0.6687 MB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.122, allocations: 126.8 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.1226, allocations: 378.1 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.1227, allocations: 9.688 kB / 479.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.1229, allocations: 151.3 kB / 479.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.1232, allocations: 151.5 kB / 479.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1233, allocations: 8 kB / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/0.1242, allocations: 447.3 kB / 479.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.1243, allocations: 43.77 kB / 479.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1245, allocations: 103.5 kB / 480 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.1251, allocations: 327.6 kB / 480.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1251, allocations: 0 / 480.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1251, allocations: 0 / 480.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1251, allocations: 4 kB / 480.4 MB, free: 3.684 MB / 350.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.001359/0.1265, allocations: 0.5994 MB / 481 MB, free: 3.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1265, allocations: 8.031 kB / 481 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1267, allocations: 32.67 kB / 481 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.127, allocations: 220 kB / 481.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.1271, allocations: 127.9 kB / 481.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1272, allocations: 20.38 kB / 481.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1277, allocations: 331.6 kB / 481.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1277, allocations: 4 kB / 481.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.1277, allocations: 8 kB / 481.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.1278, allocations: 8 kB / 481.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.1285, allocations: 0.7468 MB / 482.5 MB, free: 1.457 MB / 350.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.001331/0.1299, allocations: 1.296 MB / 483.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1302, allocations: 159.8 kB / 483.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.1304, allocations: 93.34 kB / 484 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.1328, allocations: 2.798 MB / 486.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1328, allocations: 34.56 kB / 486.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1328, allocations: 0 / 486.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002973/0.1331, allocations: 125.2 kB / 487 MB, free: 12.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1332, allocations: 51.41 kB / 487 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1334, allocations: 227.8 kB / 487.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1334, allocations: 25.7 kB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1335, allocations: 222.6 kB / 487.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1336, allocations: 39.39 kB / 487.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.1337, allocations: 89.94 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1338, allocations: 330.8 kB / 487.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.1339, allocations: 44.84 kB / 488 MB, free: 11.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1341, allocations: 343.2 kB / 488.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.1345, allocations: 452.6 kB / 488.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1346, allocations: 0 / 488.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005102/0.1351, allocations: 385.8 kB / 489.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1351, allocations: 11.94 kB / 489.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.1351, allocations: 12 kB / 489.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.1352, allocations: 15.94 kB / 489.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1354, allocations: 107.8 kB / 489.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.1354, allocations: 15.94 kB / 489.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1357, allocations: 51.44 kB / 489.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1357, allocations: 31.98 kB / 489.4 MB, free: 9.531 MB / 366.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.0001161/0.1358, allocations: 153.7 kB / 489.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.1359, allocations: 15.81 kB / 489.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1362, allocations: 144.5 kB / 489.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.1362, allocations: 11.92 kB / 489.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1362, allocations: 0 / 489.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1362, allocations: 3.938 kB / 489.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.1367, allocations: 408.8 kB / 490.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1367, allocations: 0 / 490.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.1367, allocations: 12 kB / 490.1 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1367, allocations: 4.094 kB / 490.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1368, allocations: 7.984 kB / 490.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1368, allocations: 0 / 490.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1368, allocations: 0 / 490.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.137, allocations: 209.7 kB / 490.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.137, allocations: 108.8 kB / 490.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1371, allocations: 4 kB / 490.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1372, allocations: 4 kB / 490.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1373, allocations: 7.984 kB / 490.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1373, allocations: 8 kB / 490.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1374, allocations: 152.5 kB / 490.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 0 / 490.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.1379, allocations: 99.92 kB / 490.7 MB, free: 8.07 MB / 366.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.0003274/0.1383, allocations: 159.8 kB / 490.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1386, allocations: 169.9 kB / 491 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1386, allocations: 0 / 491 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.1386, allocations: 31.86 kB / 491 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1391, allocations: 45.22 kB / 491.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.14, allocations: 0.6305 MB / 491.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1403, allocations: 0.7283 MB / 492.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.1404, allocations: 27.44 kB / 492.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1404, allocations: 0 / 492.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of Templates: time 0.005431/0.1458, allocations: 3.328 MB / 495.8 MB, free: 2.895 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches