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.001614/0.001614, allocations: 107.3 kB / 16.64 MB, free: 6.812 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.001837/0.001837, allocations: 190 kB / 17.56 MB, free: 5.922 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.394/1.394, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.1928/0.1928, allocations: 43.52 MB / 314.3 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.002396/0.002396, allocations: 70 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1114, allocations: 57.79 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004377/0.1158, allocations: 4.572 MB / 445.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.119, allocations: 4.002 MB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1191, allocations: 0 / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1195, allocations: 43.73 kB / 449.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.1211, allocations: 0.6726 MB / 449.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1215, allocations: 127.2 kB / 450.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.1219, allocations: 370.2 kB / 450.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.122, allocations: 13.69 kB / 450.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1221, allocations: 147.4 kB / 450.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1224, allocations: 155.4 kB / 450.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1224, allocations: 8 kB / 450.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.1232, allocations: 435.3 kB / 451.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1233, allocations: 47.86 kB / 451.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1234, allocations: 111.5 kB / 451.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.1238, allocations: 323.6 kB / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1238, allocations: 0 / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1238, allocations: 0 / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1239, allocations: 0 / 451.6 MB, free: 12.31 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.001049/0.1249, allocations: 0.6009 MB / 452.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.125, allocations: 11.89 kB / 452.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.1251, allocations: 32.66 kB / 452.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1254, allocations: 228 kB / 452.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1255, allocations: 123.9 kB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1255, allocations: 20.38 kB / 452.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.126, allocations: 327.6 kB / 453 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.126, allocations: 0 / 453 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.126, allocations: 12 kB / 453 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1261, allocations: 8 kB / 453 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.1268, allocations: 0.7352 MB / 453.7 MB, free: 10.09 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.001209/0.128, allocations: 1.316 MB / 455 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1283, allocations: 159.8 kB / 455.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1285, allocations: 89.42 kB / 455.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/0.1307, allocations: 2.821 MB / 458.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1307, allocations: 34.56 kB / 458.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1307, allocations: 0 / 458.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002757/0.131, allocations: 121.3 kB / 458.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.131, allocations: 51.41 kB / 458.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1312, allocations: 223.8 kB / 458.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1312, allocations: 25.7 kB / 458.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1314, allocations: 222.6 kB / 458.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1314, allocations: 43.44 kB / 458.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.1315, allocations: 82.05 kB / 458.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.1316, allocations: 330.8 kB / 459.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.1317, allocations: 52.72 kB / 459.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.1319, allocations: 343.2 kB / 459.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1323, allocations: 444.6 kB / 460 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1323, allocations: 0 / 460 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004977/0.1328, allocations: 385.6 kB / 460.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1328, allocations: 9.438 kB / 460.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1329, allocations: 16 kB / 460.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1329, allocations: 15.94 kB / 460.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1331, allocations: 107.8 kB / 460.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.1332, allocations: 15.94 kB / 460.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1334, allocations: 47.53 kB / 460.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1334, allocations: 31.98 kB / 460.7 MB, free: 2.141 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.0001113/0.1336, allocations: 153.6 kB / 460.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1336, allocations: 23.72 kB / 460.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1339, allocations: 140.6 kB / 461 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1339, allocations: 11.94 kB / 461 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1339, allocations: 0 / 461 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1339, allocations: 0 / 461 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1343, allocations: 416.7 kB / 461.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1343, allocations: 3.984 kB / 461.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.1344, allocations: 15.98 kB / 461.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1344, allocations: 0 / 461.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.1344, allocations: 96 / 461.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1344, allocations: 8 kB / 461.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1344, allocations: 0 / 461.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1346, allocations: 197.8 kB / 461.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1347, allocations: 100.9 kB / 461.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1347, allocations: 8 kB / 461.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1349, allocations: 12.16 kB / 461.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.1349, allocations: 3.938 kB / 461.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1349, allocations: 11.94 kB / 461.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.135, allocations: 152.5 kB / 461.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.135, allocations: 4 kB / 461.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000459/0.1355, allocations: 99.83 kB / 462 MB, free: 0.6797 MB / 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.0003273/0.1358, allocations: 159.1 kB / 462.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1361, allocations: 174.2 kB / 462.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1361, allocations: 0 / 462.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.1362, allocations: 27.92 kB / 462.3 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1366, allocations: 45.55 kB / 462.4 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1377, allocations: 0.6343 MB / 463 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.138, allocations: 0.7284 MB / 463.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1381, allocations: 27.44 kB / 463.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.352e-06/0.1381, allocations: 0 / 463.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004875/0.1429, allocations: 3.319 MB / 467.1 MB, free: 11.51 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches