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.001237/0.001237, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.305/1.305, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007149/0.0007149, allocations: 90.36 kB / 271.9 MB, free: 8.246 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.3478/0.3478, allocations: 43.55 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.87 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6821/0.7871, allocations: 375.3 MB / 0.8464 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.7874, allocations: 69.66 kB / 0.8465 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2131/1, allocations: 18.84 MB / 0.8649 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/1.001, allocations: 0 / 0.8649 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.001, allocations: 5.656 kB / 0.8649 GB, free: 158.9 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.001007/1.002, allocations: 0.5708 MB / 0.8654 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.002, allocations: 9.219 kB / 0.8654 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/1.002, allocations: 29.47 kB / 0.8655 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/1.002, allocations: 225.9 kB / 0.8657 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.002, allocations: 124.6 kB / 0.8658 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/1.002, allocations: 24.53 kB / 0.8658 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/1.003, allocations: 327.2 kB / 0.8661 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.003, allocations: 6.5 kB / 0.8661 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/1.003, allocations: 10.75 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/1.003, allocations: 7.062 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/1.003, allocations: 0.7353 MB / 0.8669 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/1.004, allocations: 1.177 MB / 0.868 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/1.005, allocations: 157.9 kB / 0.8682 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/1.005, allocations: 84.72 kB / 0.8683 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/1.007, allocations: 2.822 MB / 0.871 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.007, allocations: 34.47 kB / 0.8711 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/1.007, allocations: 0 / 0.8711 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002584/1.007, allocations: 115.3 kB / 0.8712 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/1.007, allocations: 52.47 kB / 0.8712 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/1.007, allocations: 223.9 kB / 0.8714 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.007, allocations: 32.73 kB / 0.8715 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/1.007, allocations: 219.6 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/1.007, allocations: 42.64 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.007, allocations: 10.91 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/1.007, allocations: 328.2 kB / 0.872 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/1.007, allocations: 44.53 kB / 0.8721 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.008, allocations: 345.4 kB / 0.8724 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/1.008, allocations: 444 kB / 0.8728 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.008, allocations: 4.5 kB / 0.8728 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004517/1.008, allocations: 375.2 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.008, allocations: 9.625 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.008, allocations: 13.78 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.009, allocations: 14.56 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.009, allocations: 105.9 kB / 0.8733 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.009, allocations: 21.62 kB / 0.8733 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/1.009, allocations: 54.94 kB / 0.8734 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/1.009, allocations: 30.03 kB / 0.8734 GB, free: 152.5 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.224e-05/1.009, allocations: 151.6 kB / 0.8736 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/1.009, allocations: 17.44 kB / 0.8736 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/1.009, allocations: 151.7 kB / 0.8737 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.009, allocations: 1.375 kB / 0.8737 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.009, allocations: 10.12 kB / 0.8737 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.009, allocations: 1.375 kB / 0.8737 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/1.01, allocations: 404.3 kB / 0.8741 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.01, allocations: 1.594 kB / 0.8741 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/1.01, allocations: 15.03 kB / 0.8741 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.01, allocations: 1.25 kB / 0.8741 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.01, allocations: 2.781 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.01, allocations: 9.953 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.01, allocations: 3.938 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/1.01, allocations: 195.3 kB / 0.8744 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/1.01, allocations: 114.3 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/1.01, allocations: 7.297 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.01, allocations: 7.25 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/1.01, allocations: 10.47 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/1.01, allocations: 3.438 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.584e-05/1.01, allocations: 153.1 kB / 0.8746 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.01, allocations: 0 / 0.8746 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004982/1.011, allocations: 101.4 kB / 0.8747 GB, free: 151.6 MB / 0.4948 GB 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 (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.0001838/1.011, allocations: 163.3 kB / 0.8749 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000238/1.011, allocations: 165.4 kB / 0.875 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.011, allocations: 4.438 kB / 0.875 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/1.011, allocations: 29.09 kB / 0.8751 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/1.012, allocations: 42.8 kB / 0.8751 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/1.019, allocations: 3.986 MB / 0.879 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/1.019, allocations: 0.7216 MB / 0.8797 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/1.019, allocations: 31.03 kB / 0.8797 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/1.019, allocations: 0 / 0.8797 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.004616/1.023, allocations: 3.203 MB / 0.8829 GB, free: 149.9 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