Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001509/0.001512, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001849/0.001848, allocations: 92.36 kB / 270.9 MB, free: 8.371 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.5086/0.5086, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004526, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.34, allocations: 375.2 MB / 0.8452 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.34, allocations: 72.95 kB / 0.8452 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4169/1.757, allocations: 18.89 MB / 0.8637 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/1.757, allocations: 0 / 0.8637 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.757, allocations: 3.062 kB / 0.8637 GB, free: 158.7 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.001292/1.759, allocations: 0.5697 MB / 0.8642 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.759, allocations: 9.406 kB / 0.8643 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/1.759, allocations: 32.39 kB / 0.8643 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.759, allocations: 222.3 kB / 0.8645 GB, free: 158 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.759, allocations: 126.2 kB / 0.8646 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/1.76, allocations: 21.19 kB / 0.8646 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/1.76, allocations: 321.2 kB / 0.8649 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/1.76, allocations: 1.219 kB / 0.8649 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/1.76, allocations: 10.67 kB / 0.865 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/1.76, allocations: 14.11 kB / 0.865 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/1.762, allocations: 0.7372 MB / 0.8657 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/1.763, allocations: 1.227 MB / 0.8669 GB, free: 157 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/1.764, allocations: 172.7 kB / 0.867 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/1.767, allocations: 2.769 MB / 0.8698 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.767, allocations: 41.22 kB / 0.8698 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/1.767, allocations: 0 / 0.8698 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.00044/1.767, allocations: 126.8 kB / 0.8699 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.767, allocations: 56.61 kB / 0.87 GB, free: 154 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/1.767, allocations: 197.2 kB / 0.8702 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/1.768, allocations: 29.7 kB / 0.8702 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.768, allocations: 280 kB / 0.8705 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/1.768, allocations: 46.56 kB / 0.8705 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/1.768, allocations: 9.844 kB / 0.8705 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/1.768, allocations: 327.1 kB / 0.8708 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.768, allocations: 51.5 kB / 0.8709 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.768, allocations: 329.3 kB / 0.8712 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/1.768, allocations: 97.84 kB / 0.8713 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.768, allocations: 3.188 kB / 0.8713 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008279/1.769, allocations: 379.3 kB / 0.8716 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.769, allocations: 9.625 kB / 0.8716 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.769, allocations: 9.625 kB / 0.8717 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/1.769, allocations: 15.12 kB / 0.8717 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.77, allocations: 101.8 kB / 0.8718 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/1.77, allocations: 24.77 kB / 0.8718 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/1.77, allocations: 64.42 kB / 0.8719 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/1.77, allocations: 27.34 kB / 0.8719 GB, free: 152.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.771, allocations: 152.7 kB / 0.872 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/1.771, allocations: 17.72 kB / 0.872 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/1.771, allocations: 163.9 kB / 0.8722 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.771, allocations: 1.344 kB / 0.8722 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.771, allocations: 4.328 kB / 0.8722 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.771, allocations: 4 kB / 0.8722 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/1.772, allocations: 434.4 kB / 0.8726 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.772, allocations: 1.188 kB / 0.8726 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/1.772, allocations: 19.09 kB / 0.8726 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.772, allocations: 2.094 kB / 0.8726 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.772, allocations: 10.02 kB / 0.8727 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/1.772, allocations: 5.219 kB / 0.8727 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.772, allocations: 2.094 kB / 0.8727 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/1.772, allocations: 256.2 kB / 0.8729 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/1.772, allocations: 117.8 kB / 0.873 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/1.773, allocations: 1.406 kB / 0.873 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.773, allocations: 7.719 kB / 0.873 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/1.773, allocations: 14.81 kB / 0.873 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.773, allocations: 3.688 kB / 0.873 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000153/1.773, allocations: 154.9 kB / 0.8732 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.773, allocations: 1.281 kB / 0.8732 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007387/1.774, allocations: 99.27 kB / 0.8733 GB, free: 151.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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.0002785/1.774, allocations: 159.2 kB / 0.8734 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004085/1.774, allocations: 176 kB / 0.8736 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.774, allocations: 0 / 0.8736 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/1.775, allocations: 22 kB / 0.8736 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.775, allocations: 44.22 kB / 0.8737 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.792, allocations: 5.151 MB / 0.8787 GB, free: 151 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/1.792, allocations: 0.7299 MB / 0.8794 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.792, allocations: 32.67 kB / 0.8794 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/1.792, allocations: 0 / 0.8794 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.007451/1.8, allocations: 3.281 MB / 0.8826 GB, free: 150 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches