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.0008632/0.0008676, allocations: 176 kB / 16.76 MB, free: 4.926 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.512/1.512, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.00112/0.00112, allocations: 78.41 kB / 271.3 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.3928/0.3928, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 8 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.894/1.033, allocations: 375.3 MB / 0.8464 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.033, allocations: 71.84 kB / 0.8465 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2484/1.281, allocations: 18.84 MB / 0.8649 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/1.281, allocations: 0 / 0.8649 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.281, allocations: 7.156 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.00105/1.282, allocations: 0.5745 MB / 0.8655 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.282, allocations: 9.812 kB / 0.8655 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/1.283, allocations: 28.25 kB / 0.8655 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/1.283, allocations: 223.8 kB / 0.8657 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.283, allocations: 121.6 kB / 0.8658 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/1.283, allocations: 27.94 kB / 0.8659 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/1.283, allocations: 322.9 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.284, allocations: 5.094 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/1.284, allocations: 13.16 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/1.284, allocations: 6.594 kB / 0.8662 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/1.284, allocations: 0.7326 MB / 0.8669 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/1.285, allocations: 1.174 MB / 0.8681 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/1.286, allocations: 160.7 kB / 0.8682 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.286, allocations: 87.73 kB / 0.8683 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/1.288, allocations: 2.818 MB / 0.871 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.288, allocations: 33.56 kB / 0.8711 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/1.288, allocations: 0 / 0.8711 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002773/1.288, allocations: 113.3 kB / 0.8712 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/1.288, allocations: 56.47 kB / 0.8712 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.288, allocations: 231.8 kB / 0.8715 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.288, allocations: 30.27 kB / 0.8715 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/1.289, allocations: 212.8 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.289, allocations: 49.17 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/1.289, allocations: 8.188 kB / 0.8717 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/1.289, allocations: 330.8 kB / 0.8721 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/1.289, allocations: 43.8 kB / 0.8721 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.289, allocations: 340.3 kB / 0.8724 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/1.289, allocations: 449.2 kB / 0.8729 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.289, allocations: 2.75 kB / 0.8729 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005004/1.29, allocations: 379.2 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.29, allocations: 10.06 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.29, allocations: 10.56 kB / 0.8732 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.29, allocations: 14.03 kB / 0.8733 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/1.29, allocations: 103.6 kB / 0.8734 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.29, allocations: 22.97 kB / 0.8734 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/1.29, allocations: 56.7 kB / 0.8734 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/1.291, allocations: 28 kB / 0.8735 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 0.0001143/1.291, allocations: 156.3 kB / 0.8736 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/1.291, allocations: 18 kB / 0.8736 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/1.291, allocations: 148.5 kB / 0.8738 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.291, allocations: 2.344 kB / 0.8738 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.291, allocations: 3.938 kB / 0.8738 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.291, allocations: 0 / 0.8738 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/1.291, allocations: 403.3 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.291, allocations: 5.344 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/1.291, allocations: 27.48 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.291, allocations: 1.312 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.291, allocations: 2.125 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.291, allocations: 2.75 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.291, allocations: 0.8125 kB / 0.8742 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.292, allocations: 204.2 kB / 0.8744 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/1.292, allocations: 117.5 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/1.292, allocations: 0 / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/1.292, allocations: 2.875 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/1.292, allocations: 12.17 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/1.292, allocations: 6.844 kB / 0.8745 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.57e-05/1.292, allocations: 154.5 kB / 0.8747 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.292, allocations: 0 / 0.8747 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004792/1.292, allocations: 100.5 kB / 0.8748 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.0001977/1.293, allocations: 160.5 kB / 0.8749 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002317/1.293, allocations: 166.1 kB / 0.8751 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.293, allocations: 0 / 0.8751 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/1.293, allocations: 25.62 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.0003924/1.293, allocations: 39.23 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.007782/1.301, allocations: 3.956 MB / 0.879 GB, free: 151 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/1.302, allocations: 0.7267 MB / 0.8797 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003363/1.302, allocations: 52.92 kB / 0.8798 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/1.302, allocations: 30.03 kB / 0.8798 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/1.302, allocations: 0 / 0.8798 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.006544/1.308, allocations: 2.835 MB / 0.8826 GB, free: 150 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/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