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.00152/0.00152, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 85.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.511e-05, allocations: 224 / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.621, allocations: 374.5 MB / 0.8316 GB, free: 145.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.622, allocations: 70.41 kB / 0.8317 GB, free: 145.8 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.07028/1.692, allocations: 18.73 MB / 0.85 GB, free: 144.3 MB / 0.4952 GB Notification: Performance of FrontEnd: time 3.096e-06/1.692, allocations: 0 / 0.85 GB, free: 144.3 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.692, allocations: 7.75 kB / 0.85 GB, free: 144.3 MB / 0.4952 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.001298/1.693, allocations: 0.5546 MB / 0.8505 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.693, allocations: 11.75 kB / 0.8505 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.694, allocations: 27.44 kB / 0.8506 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.694, allocations: 232 kB / 0.8508 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.694, allocations: 118.8 kB / 0.8509 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/1.694, allocations: 11.72 kB / 0.8509 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009892/1.695, allocations: 0.7109 MB / 0.8516 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/1.696, allocations: 284.9 kB / 0.8519 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.696, allocations: 0 / 0.8519 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/1.696, allocations: 3.844 kB / 0.8519 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/1.696, allocations: 7.703 kB / 0.8519 GB, free: 143.4 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/1.699, allocations: 3.492 MB / 0.8553 GB, free: 140 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/1.699, allocations: 45.03 kB / 0.8553 GB, free: 139.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/1.699, allocations: 23.92 kB / 0.8554 GB, free: 139.9 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/1.7, allocations: 450.5 kB / 0.8558 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/1.7, allocations: 30.56 kB / 0.8558 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1): time 2.885e-06/1.7, allocations: 0 / 0.8558 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1): time 0.0002334/1.7, allocations: 49.05 kB / 0.8559 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/1.7, allocations: 62.59 kB / 0.8559 GB, free: 139.4 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/1.701, allocations: 215 kB / 0.8561 GB, free: 139.3 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.701, allocations: 25.7 kB / 0.8562 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.701, allocations: 316.6 kB / 0.8565 GB, free: 139 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/1.701, allocations: 14.77 kB / 0.8565 GB, free: 139 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/1.701, allocations: 0 / 0.8565 GB, free: 139 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/1.701, allocations: 330 kB / 0.8568 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/1.701, allocations: 35.03 kB / 0.8568 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/1.701, allocations: 339.6 kB / 0.8571 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/1.702, allocations: 111.2 kB / 0.8573 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.702, allocations: 7.906 kB / 0.8573 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009071/1.703, allocations: 339.7 kB / 0.8576 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.703, allocations: 7.812 kB / 0.8576 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.703, allocations: 15.8 kB / 0.8576 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/1.703, allocations: 23.53 kB / 0.8576 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/1.703, allocations: 96.86 kB / 0.8577 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.703, allocations: 22.7 kB / 0.8577 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/1.704, allocations: 54.81 kB / 0.8578 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.704, allocations: 27.16 kB / 0.8578 GB, free: 138.1 MB / 0.4952 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 0.0001027/1.704, allocations: 136.2 kB / 0.8579 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/1.704, allocations: 19.58 kB / 0.858 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/1.704, allocations: 20.27 kB / 0.858 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.704, allocations: 0 / 0.858 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.704, allocations: 0 / 0.858 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.704, allocations: 3.797 kB / 0.858 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/1.704, allocations: 171.5 kB / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.704, allocations: 0 / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/1.704, allocations: 0 / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.704, allocations: 4 kB / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.704, allocations: 0 / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.704, allocations: 3.953 kB / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.704, allocations: 4 kB / 0.8582 GB, free: 137.8 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/1.704, allocations: 149.5 kB / 0.8583 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/1.705, allocations: 105.9 kB / 0.8584 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/1.705, allocations: 3.906 kB / 0.8584 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/1.705, allocations: 32 / 0.8584 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/1.705, allocations: 7.953 kB / 0.8584 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.705, allocations: 3.422 kB / 0.8584 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001227/1.705, allocations: 153.4 kB / 0.8586 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.3e-07/1.705, allocations: 0 / 0.8586 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007171/1.706, allocations: 85.78 kB / 0.8587 GB, free: 137.4 MB / 0.4952 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.0002602/1.706, allocations: 148 kB / 0.8588 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0002782/1.706, allocations: 131.5 kB / 0.8589 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.706, allocations: 0 / 0.8589 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/1.706, allocations: 5.562 kB / 0.8589 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/1.707, allocations: 15.22 kB / 0.8589 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.72, allocations: 4.114 MB / 0.863 GB, free: 136.9 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/1.72, allocations: 0.7279 MB / 0.8637 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/1.72, allocations: 29.92 kB / 0.8637 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of SimCode: time 1.072e-06/1.72, allocations: 0 / 0.8637 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of Templates: time 0.007237/1.728, allocations: 3.155 MB / 0.8668 GB, free: 135.8 MB / 0.4952 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