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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 168.9 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.[0-9,]+.|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=5003,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.554e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004886/0.004912, allocations: 4.751 MB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.009006, allocations: 4.15 MB / 334.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.009084, allocations: 0 / 334.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.009338, allocations: 63.59 kB / 334.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.01063, allocations: 0.8 MB / 335.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.01087, allocations: 143.6 kB / 335.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.01128, allocations: 401.9 kB / 336.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.01133, allocations: 11.2 kB / 336.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.01151, allocations: 207.4 kB / 336.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.01167, allocations: 131.7 kB / 336.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.01169, allocations: 8 kB / 336.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.0122, allocations: 419.2 kB / 337 MB, free: 12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.01226, allocations: 39.83 kB / 337.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.01233, allocations: 91.75 kB / 337.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.0128, allocations: 462.6 kB / 337.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.0128, allocations: 0 / 337.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0128, allocations: 0 / 337.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.0128, allocations: 0 / 337.6 MB, free: 11.42 MB / 314.7 MB 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.0007447/0.01355, allocations: 0.5044 MB / 338.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.01358, allocations: 8.031 kB / 338.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.01371, allocations: 60.78 kB / 338.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.01388, allocations: 161.4 kB / 338.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.01399, allocations: 226.7 kB / 338.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.01401, allocations: 24.38 kB / 338.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.0143, allocations: 409.2 kB / 339 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01431, allocations: 192 / 339 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01433, allocations: 15.94 kB / 339 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.01435, allocations: 4 kB / 339 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.01467, allocations: 441.5 kB / 339.4 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.01541, allocations: 0.9501 MB / 340.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.01559, allocations: 155.3 kB / 340.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.01564, allocations: 49.5 kB / 340.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.01648, allocations: 0.7603 MB / 341.4 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.0165, allocations: 30.56 kB / 341.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.0165, allocations: 4 kB / 341.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001549/0.01666, allocations: 123.8 kB / 341.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.01668, allocations: 55.34 kB / 341.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01681, allocations: 231.1 kB / 341.8 MB, free: 6.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01683, allocations: 29.7 kB / 341.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.01692, allocations: 231.4 kB / 342 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.01695, allocations: 43.67 kB / 342.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.01701, allocations: 86.06 kB / 342.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.01709, allocations: 330.7 kB / 342.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.01712, allocations: 39.8 kB / 342.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.01729, allocations: 332.1 kB / 342.9 MB, free: 5.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.01755, allocations: 434.2 kB / 343.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.01755, allocations: 4 kB / 343.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000271/0.01783, allocations: 320.6 kB / 343.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01784, allocations: 15.94 kB / 343.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.01785, allocations: 12.09 kB / 343.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01787, allocations: 16 kB / 343.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.01801, allocations: 99.83 kB / 343.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.01802, allocations: 15.94 kB / 343.8 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01814, allocations: 55.61 kB / 343.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.01816, allocations: 24 kB / 343.8 MB, free: 4.598 MB / 314.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.01825, allocations: 156.3 kB / 344 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01827, allocations: 11.98 kB / 344 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.01842, allocations: 136.4 kB / 344.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.01843, allocations: 0 / 344.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01843, allocations: 0 / 344.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01844, allocations: 4 kB / 344.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.01866, allocations: 329.1 kB / 344.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01866, allocations: 8.016 kB / 344.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.01869, allocations: 15.98 kB / 344.5 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.0187, allocations: 4 kB / 344.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.0187, allocations: 0 / 344.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0187, allocations: 0 / 344.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01871, allocations: 4 kB / 344.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.01882, allocations: 232.7 kB / 344.7 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.01885, allocations: 23.8 kB / 344.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.01887, allocations: 8 kB / 344.7 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.01894, allocations: 7.984 kB / 344.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.01896, allocations: 15.88 kB / 344.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.01896, allocations: 3.984 kB / 344.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.01901, allocations: 70.78 kB / 344.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01901, allocations: 0 / 344.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01928, allocations: 95.88 kB / 344.9 MB, free: 3.414 MB / 314.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.01947, allocations: 136.2 kB / 345.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.01963, allocations: 172.6 kB / 345.2 MB, free: 3.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.01964, allocations: 4.5 kB / 345.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.01966, allocations: 20.8 kB / 345.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01988, allocations: 57.91 kB / 345.3 MB, free: 3.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.02071, allocations: 0.5231 MB / 345.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.02075, allocations: 72.33 kB / 345.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02087, allocations: 54.92 kB / 346 MB, free: 2.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02098, allocations: 103.3 kB / 346.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02098, allocations: 0 / 346.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of Templates: time 0.004928/0.0259, allocations: 3.408 MB / 349.5 MB, free: 14.86 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1936707119457424]