Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.0009211/0.0009211, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009296/0.0009296, allocations: 160.3 kB / 24.91 MB, free: 8.758 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 0.9707/0.9707, allocations: 177 MB / 205.2 MB, free: 5.43 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.2644/0.2644, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.053e-05, allocations: 3.406 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004273/0.004294, allocations: 5.118 MB / 331.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.007365, allocations: 4.71 MB / 335.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.007425, allocations: 0 / 335.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.007641, allocations: 55.61 kB / 335.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009554/0.008596, allocations: 0.7298 MB / 336.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.008818, allocations: 163.7 kB / 336.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.009198, allocations: 407.9 kB / 337.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.009234, allocations: 10.45 kB / 337.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.009438, allocations: 203.4 kB / 337.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.009555, allocations: 111.7 kB / 337.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.009575, allocations: 8 kB / 337.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.009951, allocations: 327.4 kB / 337.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.01001, allocations: 51.77 kB / 337.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.01008, allocations: 83.77 kB / 337.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.0105, allocations: 438.6 kB / 338.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.0105, allocations: 0 / 338.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0105, allocations: 0 / 338.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01051, allocations: 0 / 338.3 MB, free: 10.7 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.0005813/0.01109, allocations: 0.4927 MB / 338.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.01112, allocations: 8.031 kB / 338.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01123, allocations: 60.73 kB / 338.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.01139, allocations: 157.5 kB / 339 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.01148, allocations: 230.7 kB / 339.3 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.01151, allocations: 28.38 kB / 339.3 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.01179, allocations: 423 kB / 339.7 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.0118, allocations: 4.188 kB / 339.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.01182, allocations: 11.94 kB / 339.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.01184, allocations: 8 kB / 339.7 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.01217, allocations: 455.4 kB / 340.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.01285, allocations: 0.9304 MB / 341.1 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.01301, allocations: 146.1 kB / 341.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.01305, allocations: 48.83 kB / 341.3 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.01371, allocations: 0.6849 MB / 342 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.01373, allocations: 30.56 kB / 342 MB, free: 6.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.01373, allocations: 0 / 342 MB, free: 6.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002287/0.01396, allocations: 178.6 kB / 342.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.01398, allocations: 51.41 kB / 342.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.01412, allocations: 225.8 kB / 342.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01413, allocations: 33.7 kB / 342.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.0142, allocations: 215.5 kB / 342.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.01423, allocations: 55.5 kB / 342.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.01428, allocations: 86.06 kB / 342.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.01435, allocations: 330.8 kB / 343.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.01438, allocations: 39.81 kB / 343.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.01451, allocations: 284.1 kB / 343.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.01472, allocations: 400.1 kB / 343.9 MB, free: 4.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01472, allocations: 0 / 343.9 MB, free: 4.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002454/0.01497, allocations: 288.3 kB / 344.1 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01498, allocations: 12 kB / 344.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.01499, allocations: 11.98 kB / 344.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01501, allocations: 12.12 kB / 344.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.0152, allocations: 103.8 kB / 344.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.01521, allocations: 19.92 kB / 344.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01534, allocations: 52.06 kB / 344.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.01536, allocations: 28 kB / 344.4 MB, free: 4.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (50): * Single equations (assignments): 49 * 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.254e-05/0.01544, allocations: 148.4 kB / 344.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.01547, allocations: 19.97 kB / 344.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.01562, allocations: 129.9 kB / 344.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.01563, allocations: 7.984 kB / 344.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01563, allocations: 0 / 344.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01564, allocations: 0 / 344.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01578, allocations: 113.7 kB / 344.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.01578, allocations: 7.938 kB / 344.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.01585, allocations: 27.92 kB / 344.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01586, allocations: 0 / 344.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.01586, allocations: 4 kB / 344.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01586, allocations: 4 kB / 344.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01587, allocations: 7.984 kB / 344.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.01597, allocations: 222.2 kB / 345.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.01601, allocations: 19.89 kB / 345.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01603, allocations: 7.984 kB / 345.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.01611, allocations: 4 kB / 345.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.01612, allocations: 11.97 kB / 345.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.01613, allocations: 4 kB / 345.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.061e-05/0.01617, allocations: 66.78 kB / 345.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01617, allocations: 0 / 345.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01643, allocations: 107.8 kB / 345.3 MB, free: 3.133 MB / 314.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001823/0.01661, allocations: 157.6 kB / 345.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.01676, allocations: 147.1 kB / 345.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01677, allocations: 5.25 kB / 345.6 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.01679, allocations: 36.78 kB / 345.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.01701, allocations: 66.39 kB / 345.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.01782, allocations: 487.2 kB / 346.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.01785, allocations: 76.33 kB / 346.2 MB, free: 2.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.01797, allocations: 53.33 kB / 346.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.01811, allocations: 117.3 kB / 346.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01811, allocations: 0 / 346.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of Templates: time 0.00497/0.02308, allocations: 3.799 MB / 350.2 MB, free: 14.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.966456701979041]