Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007702/0.0007702, allocations: 90.81 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.681e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09754, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/0.9113, allocations: 379.1 MB / 0.8816 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.9115, allocations: 67.53 kB / 0.8817 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.03943/0.951, allocations: 19.39 MB / 0.9006 GB, free: 46.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/0.951, allocations: 0 / 0.9006 GB, free: 46.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.951, allocations: 0 / 0.9006 GB, free: 46.63 MB / 0.5261 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.0007883/0.9518, allocations: 0.5664 MB / 0.9012 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.9519, allocations: 11.97 kB / 0.9012 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.952, allocations: 23.81 kB / 0.9012 GB, free: 46.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.9522, allocations: 225.4 kB / 0.9014 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.9523, allocations: 122.2 kB / 0.9015 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.9523, allocations: 23.06 kB / 0.9015 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.9527, allocations: 317.1 kB / 0.9019 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9527, allocations: 0 / 0.9019 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.9527, allocations: 10.94 kB / 0.9019 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.9528, allocations: 15.92 kB / 0.9019 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.9533, allocations: 0.7221 MB / 0.9026 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.9543, allocations: 1.233 MB / 0.9038 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.9545, allocations: 159 kB / 0.9039 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.9546, allocations: 82 kB / 0.904 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.9563, allocations: 3.006 MB / 0.907 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.9564, allocations: 41.8 kB / 0.907 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.9564, allocations: 0 / 0.907 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0002123/0.9566, allocations: 107.7 kB / 0.9071 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.9566, allocations: 51.41 kB / 0.9071 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.9568, allocations: 193.9 kB / 0.9073 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.9568, allocations: 29.14 kB / 0.9074 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.9568, allocations: 209.3 kB / 0.9076 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.9569, allocations: 57.7 kB / 0.9076 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.9569, allocations: 7 kB / 0.9076 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.957, allocations: 329.5 kB / 0.9079 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.9571, allocations: 47.8 kB / 0.908 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.9572, allocations: 326.1 kB / 0.9083 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.9574, allocations: 110.8 kB / 0.9084 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9574, allocations: 0 / 0.9084 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004598/0.9579, allocations: 369.4 kB / 0.9087 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9579, allocations: 8 kB / 0.9088 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9579, allocations: 12 kB / 0.9088 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.9579, allocations: 12 kB / 0.9088 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.9582, allocations: 103.5 kB / 0.9089 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.9582, allocations: 23.88 kB / 0.9089 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.9584, allocations: 58.44 kB / 0.909 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.9585, allocations: 27.69 kB / 0.909 GB, free: 37.85 MB / 0.5261 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 () * 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.084e-05/0.9586, allocations: 135.8 kB / 0.9091 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.9586, allocations: 15.81 kB / 0.9091 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.9589, allocations: 167.5 kB / 0.9093 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9589, allocations: 0 / 0.9093 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9589, allocations: 0 / 0.9093 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.959, allocations: 7.953 kB / 0.9093 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.9593, allocations: 433.6 kB / 0.9097 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9593, allocations: 0 / 0.9097 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.9594, allocations: 15.94 kB / 0.9097 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9594, allocations: 7.953 kB / 0.9097 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.9594, allocations: 3.812 kB / 0.9097 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9594, allocations: 4 kB / 0.9097 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9594, allocations: 0 / 0.9097 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.9596, allocations: 264.2 kB / 0.91 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.9597, allocations: 119.9 kB / 0.9101 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.9598, allocations: 0 / 0.9101 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.9599, allocations: 7.984 kB / 0.9101 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.9599, allocations: 11.52 kB / 0.9101 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.9599, allocations: 8.047 kB / 0.9101 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000108/0.96, allocations: 151.4 kB / 0.9103 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9601, allocations: 0 / 0.9103 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004919/0.9606, allocations: 99.41 kB / 0.9104 GB, free: 36.38 MB / 0.5261 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 () * 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.0002272/0.9608, allocations: 156 kB / 0.9105 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.961, allocations: 171.7 kB / 0.9107 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9611, allocations: 0 / 0.9107 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.9611, allocations: 27.42 kB / 0.9107 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.9614, allocations: 38.78 kB / 0.9107 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009903/0.9713, allocations: 4.984 MB / 0.9156 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.9715, allocations: 0.7326 MB / 0.9163 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.9717, allocations: 49.92 kB / 0.9164 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.9718, allocations: 30.73 kB / 0.9164 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.9718, allocations: 7.938 kB / 0.9164 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.004839/0.9766, allocations: 2.822 MB / 0.9192 GB, free: 28.41 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches