Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.002026/0.002026, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 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.002246/0.002246, allocations: 210.6 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.553/1.553, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] 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.2613/0.2613, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 73.06 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1506, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03776/0.1884, allocations: 30.19 MB / 0.5698 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.2103, allocations: 15.54 MB / 0.585 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.2108, allocations: 11.94 kB / 0.585 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008182/0.2117, allocations: 218.6 kB / 0.5852 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007373/0.2124, allocations: 262.4 kB / 0.5855 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01858/0.231, allocations: 5.644 MB / 0.591 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2325, allocations: 0.8147 MB / 0.5918 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2329, allocations: 228.8 kB / 0.592 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/0.2466, allocations: 5.478 MB / 0.5973 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.2472, allocations: 235 kB / 0.5976 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.2473, allocations: 28 kB / 0.5976 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.2621, allocations: 6.095 MB / 0.6036 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.2623, allocations: 95.66 kB / 0.6036 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.2627, allocations: 183.1 kB / 0.6038 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3637/0.6264, allocations: 3.673 MB / 0.6074 GB, free: 17.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6265, allocations: 0 / 0.6074 GB, free: 17.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6265, allocations: 0 / 0.6074 GB, free: 17.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.6265, allocations: 0 / 0.6074 GB, free: 17.41 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003409/0.63, allocations: 1.028 MB / 0.6084 GB, free: 16.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.63, allocations: 9.531 kB / 0.6084 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.6312, allocations: 123.6 kB / 0.6085 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.6319, allocations: 342.6 kB / 0.6089 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.6319, allocations: 22.84 kB / 0.6089 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.632, allocations: 27.61 kB / 0.6089 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.6333, allocations: 460.8 kB / 0.6093 GB, free: 16.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6333, allocations: 1.406 kB / 0.6093 GB, free: 16.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.6333, allocations: 10.91 kB / 0.6094 GB, free: 16.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6334, allocations: 6.875 kB / 0.6094 GB, free: 16.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.6346, allocations: 368.3 kB / 0.6097 GB, free: 16.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.6377, allocations: 2.376 MB / 0.612 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.6389, allocations: 282.5 kB / 0.6123 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.6392, allocations: 98.38 kB / 0.6124 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.6396, allocations: 482.8 kB / 0.6129 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6397, allocations: 37.69 kB / 0.6129 GB, free: 14.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.6397, allocations: 1.531 kB / 0.6129 GB, free: 14.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001935/0.6416, allocations: 453 kB / 0.6133 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.6417, allocations: 107.9 kB / 0.6134 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.6421, allocations: 319.5 kB / 0.6137 GB, free: 13.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.6422, allocations: 31.95 kB / 0.6138 GB, free: 13.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.6423, allocations: 211.4 kB / 0.614 GB, free: 13.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.6424, allocations: 48.69 kB / 0.614 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6425, allocations: 59.42 kB / 0.6141 GB, free: 13.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.6426, allocations: 339.1 kB / 0.6144 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.6429, allocations: 85.25 kB / 0.6145 GB, free: 13.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6434, allocations: 207.8 kB / 0.6147 GB, free: 13.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.644, allocations: 274.4 kB / 0.6149 GB, free: 13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.644, allocations: 1.188 kB / 0.6149 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008486/0.6449, allocations: 323.3 kB / 0.6152 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6449, allocations: 7.422 kB / 0.6153 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6449, allocations: 3.906 kB / 0.6153 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.645, allocations: 5.219 kB / 0.6153 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.6453, allocations: 67.7 kB / 0.6153 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.6453, allocations: 9.172 kB / 0.6153 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.6456, allocations: 45.95 kB / 0.6154 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.6457, allocations: 11.56 kB / 0.6154 GB, free: 12.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * 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 0.0001949/0.6459, allocations: 160.3 kB / 0.6155 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.646, allocations: 30.38 kB / 0.6156 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.6473, allocations: 0.7478 MB / 0.6163 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.6473, allocations: 9.375 kB / 0.6163 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6474, allocations: 5.531 kB / 0.6163 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6474, allocations: 0.7031 kB / 0.6163 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.6482, allocations: 0.5278 MB / 0.6168 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6482, allocations: 0.9375 kB / 0.6168 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.6485, allocations: 45.02 kB / 0.6169 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.6485, allocations: 1.062 kB / 0.6169 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.6485, allocations: 5.438 kB / 0.6169 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.6485, allocations: 3.609 kB / 0.6169 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.6485, allocations: 4.875 kB / 0.6169 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.6494, allocations: 463.8 kB / 0.6173 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.6495, allocations: 123 kB / 0.6175 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.6496, allocations: 28.97 kB / 0.6175 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.6498, allocations: 15.81 kB / 0.6175 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.6499, allocations: 20.34 kB / 0.6175 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.6499, allocations: 7.766 kB / 0.6175 GB, free: 12.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.6504, allocations: 348.4 kB / 0.6179 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6504, allocations: 3 kB / 0.6179 GB, free: 12.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003708/0.6541, allocations: 0.8503 MB / 0.6187 GB, free: 11.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005829/0.66, allocations: 0.9881 MB / 0.6197 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.6611, allocations: 274.5 kB / 0.6199 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6611, allocations: 0 / 0.6199 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.6615, allocations: 166.4 kB / 0.6201 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.6627, allocations: 182.1 kB / 0.6202 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6643, allocations: 0.8838 MB / 0.6211 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6646, allocations: 0.844 MB / 0.6219 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6647, allocations: 39.56 kB / 0.622 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6648, allocations: 0 / 0.622 GB, free: 10.59 MB / 462.1 MB Notification: Performance of Templates: time 0.03903/0.7038, allocations: 19.93 MB / 0.6414 GB, free: 6.078 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.020545308012515]