Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 109.1 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2442/0.2442, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.47 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1445, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03339/0.1779, allocations: 30.04 MB / 472 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.1977, allocations: 15.51 MB / 487.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.1982, allocations: 11.94 kB / 487.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.199, allocations: 218.6 kB / 487.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.1997, allocations: 262.4 kB / 488 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01783/0.2176, allocations: 5.613 MB / 493.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.219, allocations: 0.8186 MB / 494.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.2194, allocations: 224.8 kB / 494.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.013/0.2325, allocations: 5.471 MB / 0.4884 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2331, allocations: 235 kB / 0.4886 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.2332, allocations: 31.94 kB / 0.4887 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.2454, allocations: 6.068 MB / 0.4946 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.2456, allocations: 91.67 kB / 0.4947 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.246, allocations: 183.2 kB / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009805/0.2558, allocations: 3.645 MB / 0.4984 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2558, allocations: 0 / 0.4984 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2559, allocations: 4 kB / 0.4984 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2559, allocations: 0 / 0.4984 GB, free: 1.48 MB / 382.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.00262/0.2585, allocations: 0.994 MB / 0.4994 GB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2586, allocations: 11.89 kB / 0.4994 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/0.2595, allocations: 112.4 kB / 0.4995 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.2601, allocations: 338.6 kB / 0.4998 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.2601, allocations: 28.88 kB / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2602, allocations: 24.38 kB / 0.4999 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.2613, allocations: 458.8 kB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2613, allocations: 4 kB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.2613, allocations: 12 kB / 0.5003 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2613, allocations: 4 kB / 0.5003 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000998/0.2623, allocations: 373.2 kB / 0.5007 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.2652, allocations: 2.364 MB / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.2662, allocations: 278.3 kB / 0.5033 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.2665, allocations: 104.7 kB / 0.5034 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.2669, allocations: 485.4 kB / 0.5038 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.267, allocations: 30.56 kB / 0.5038 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.267, allocations: 0 / 0.5038 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001631/0.2686, allocations: 457 kB / 0.5043 GB, free: 11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.2687, allocations: 106.8 kB / 0.5044 GB, free: 10.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.2691, allocations: 324.5 kB / 0.5047 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.2691, allocations: 29.7 kB / 0.5047 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.2693, allocations: 211.5 kB / 0.5049 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.2694, allocations: 39.45 kB / 0.505 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.2695, allocations: 49.7 kB / 0.505 GB, free: 10.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2696, allocations: 346.8 kB / 0.5053 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2699, allocations: 87.88 kB / 0.5054 GB, free: 9.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.2702, allocations: 208.7 kB / 0.5056 GB, free: 9.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.2708, allocations: 285.4 kB / 0.5059 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2708, allocations: 0 / 0.5059 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006833/0.2715, allocations: 312.9 kB / 0.5062 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2715, allocations: 8.469 kB / 0.5062 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2715, allocations: 8 kB / 0.5062 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.2716, allocations: 4 kB / 0.5062 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2718, allocations: 63.89 kB / 0.5063 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.2719, allocations: 11.94 kB / 0.5063 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.2721, allocations: 47.59 kB / 0.5063 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2721, allocations: 8 kB / 0.5063 GB, free: 8.73 MB / 398.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.0001741/0.2723, allocations: 161.7 kB / 0.5065 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.2724, allocations: 31.62 kB / 0.5065 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2735, allocations: 0.7405 MB / 0.5072 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2735, allocations: 7.984 kB / 0.5073 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2736, allocations: 3.938 kB / 0.5073 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2736, allocations: 4 kB / 0.5073 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.2742, allocations: 0.5297 MB / 0.5078 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2742, allocations: 0 / 0.5078 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2744, allocations: 43.95 kB / 0.5078 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2744, allocations: 7.938 kB / 0.5078 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2744, allocations: 0 / 0.5078 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2744, allocations: 4 kB / 0.5078 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2744, allocations: 3.938 kB / 0.5078 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.2751, allocations: 457.7 kB / 0.5083 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2752, allocations: 116.6 kB / 0.5084 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.2753, allocations: 31.69 kB / 0.5084 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.2755, allocations: 15.98 kB / 0.5084 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.2756, allocations: 19.91 kB / 0.5084 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.2756, allocations: 8 kB / 0.5085 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.276, allocations: 338.9 kB / 0.5088 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.276, allocations: 0 / 0.5088 GB, free: 6.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003461/0.2795, allocations: 0.8394 MB / 0.5096 GB, free: 5.281 MB / 398.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.003752/0.2833, allocations: 0.987 MB / 0.5106 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.284, allocations: 269.1 kB / 0.5108 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.284, allocations: 0 / 0.5108 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.2843, allocations: 167.8 kB / 0.511 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.2852, allocations: 189.7 kB / 0.5112 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2866, allocations: 0.8421 MB / 0.512 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.287, allocations: 0.8463 MB / 0.5128 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003057/0.2873, allocations: 143.3 kB / 0.5129 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.2874, allocations: 31.44 kB / 0.513 GB, free: 1.773 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.2874, allocations: 0 / 0.513 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Templates: time 0.2967/0.5841, allocations: 33.68 MB / 0.5459 GB, free: 87.62 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches