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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00084/0.0008399, allocations: 84.06 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2279/0.2279, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.393e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.164, allocations: 374.5 MB / 0.8316 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/1.164, allocations: 72.08 kB / 0.8317 GB, free: 63.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03915/1.203, allocations: 18.73 MB / 0.85 GB, free: 48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/1.203, allocations: 3.938 kB / 0.85 GB, free: 48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.693e-05/1.203, allocations: 4 kB / 0.85 GB, free: 48 MB / 0.4948 GB 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.001033/1.204, allocations: 0.5595 MB / 0.8506 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.204, allocations: 8.031 kB / 0.8506 GB, free: 47.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/1.205, allocations: 27.81 kB / 0.8506 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/1.205, allocations: 238.1 kB / 0.8508 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.205, allocations: 115.4 kB / 0.8509 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/1.205, allocations: 12 kB / 0.8509 GB, free: 46.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006835/1.206, allocations: 0.7129 MB / 0.8516 GB, free: 46.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/1.206, allocations: 283.2 kB / 0.8519 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.206, allocations: 0 / 0.8519 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.206, allocations: 0 / 0.8519 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/1.206, allocations: 11.98 kB / 0.8519 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/1.209, allocations: 3.501 MB / 0.8553 GB, free: 42.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/1.209, allocations: 49.44 kB / 0.8554 GB, free: 42.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/1.209, allocations: 16.58 kB / 0.8554 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/1.21, allocations: 448.4 kB / 0.8558 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.21, allocations: 34.56 kB / 0.8559 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.694e-06/1.21, allocations: 0 / 0.8559 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002012/1.21, allocations: 49.52 kB / 0.8559 GB, free: 41.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/1.21, allocations: 51.69 kB / 0.856 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.21, allocations: 213.9 kB / 0.8562 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.21, allocations: 29.64 kB / 0.8562 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.21, allocations: 251.5 kB / 0.8564 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/1.21, allocations: 15.92 kB / 0.8564 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/1.21, allocations: 3.938 kB / 0.8564 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/1.21, allocations: 326.3 kB / 0.8568 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/1.21, allocations: 35.36 kB / 0.8568 GB, free: 40.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/1.211, allocations: 333.2 kB / 0.8571 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/1.211, allocations: 113.9 kB / 0.8572 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.211, allocations: 4 kB / 0.8572 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006293/1.212, allocations: 345.8 kB / 0.8576 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.212, allocations: 11.94 kB / 0.8576 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.212, allocations: 16.84 kB / 0.8576 GB, free: 39.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.212, allocations: 16 kB / 0.8576 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/1.212, allocations: 103.2 kB / 0.8577 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.212, allocations: 19.94 kB / 0.8577 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/1.212, allocations: 51.38 kB / 0.8578 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/1.212, allocations: 31.3 kB / 0.8578 GB, free: 39.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/1.212, allocations: 132.5 kB / 0.8579 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/1.212, allocations: 19.77 kB / 0.8579 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/1.213, allocations: 17.05 kB / 0.858 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.213, allocations: 4 kB / 0.858 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.213, allocations: 4 kB / 0.858 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.213, allocations: 0 / 0.858 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.213, allocations: 168.1 kB / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.213, allocations: 4 kB / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/1.213, allocations: 0 / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/1.213, allocations: 0 / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/1.213, allocations: 0 / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.213, allocations: 3.953 kB / 0.8581 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.213, allocations: 4 kB / 0.8581 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/1.213, allocations: 150.7 kB / 0.8583 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/1.213, allocations: 107.9 kB / 0.8584 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.213, allocations: 0 / 0.8584 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.213, allocations: 3.984 kB / 0.8584 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/1.213, allocations: 7.891 kB / 0.8584 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/1.213, allocations: 4 kB / 0.8584 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.326e-05/1.213, allocations: 143.8 kB / 0.8585 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.213, allocations: 0 / 0.8585 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005042/1.214, allocations: 95.36 kB / 0.8586 GB, free: 38.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/1.214, allocations: 155.1 kB / 0.8588 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000205/1.214, allocations: 131.7 kB / 0.8589 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.214, allocations: 0.5 kB / 0.8589 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/1.214, allocations: 4 kB / 0.8589 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.215, allocations: 15.75 kB / 0.8589 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/1.224, allocations: 4.078 MB / 0.8629 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/1.224, allocations: 0.717 MB / 0.8636 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002918/1.225, allocations: 49.92 kB / 0.8636 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/1.225, allocations: 27.42 kB / 0.8637 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.984e-06/1.225, allocations: 0 / 0.8637 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.005308/1.23, allocations: 2.169 MB / 0.8658 GB, free: 32.3 MB / 0.4948 GB 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/jenkins/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