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.001674/0.001674, allocations: 97.91 kB / 16.26 MB, free: 5.93 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.002016/0.002015, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2566/0.2566, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001793/0.001793, allocations: 72.78 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1462, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02997/0.1762, allocations: 30.04 MB / 470.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.1965, allocations: 15.5 MB / 486.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.197, allocations: 15.88 kB / 486.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.198, allocations: 214.6 kB / 486.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007509/0.1987, allocations: 270.4 kB / 486.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.2165, allocations: 5.61 MB / 492.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.2178, allocations: 0.8071 MB / 493 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.2182, allocations: 236.7 kB / 493.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.2302, allocations: 5.462 MB / 498.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.2308, allocations: 231 kB / 498.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.2309, allocations: 32 kB / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.2435, allocations: 5.939 MB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.2438, allocations: 87.73 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.2443, allocations: 191.1 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.2585, allocations: 3.645 MB / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2585, allocations: 0 / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2585, allocations: 0 / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2585, allocations: 0 / 0.4969 GB, free: 2.359 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.00416/0.2627, allocations: 0.9861 MB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.376e-05/0.2628, allocations: 15.89 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2639, allocations: 108.5 kB / 0.4979 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.2645, allocations: 330.5 kB / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.2645, allocations: 20.94 kB / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.2646, allocations: 28.31 kB / 0.4983 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2658, allocations: 454.9 kB / 0.4987 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2658, allocations: 3.984 kB / 0.4987 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.2658, allocations: 16 kB / 0.4988 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.2659, allocations: 8 kB / 0.4988 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.267, allocations: 373.3 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.2707, allocations: 2.376 MB / 0.5014 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2717, allocations: 278.2 kB / 0.5017 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.272, allocations: 100.8 kB / 0.5018 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.2726, allocations: 485.5 kB / 0.5023 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2726, allocations: 34.56 kB / 0.5023 GB, free: 12.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.2726, allocations: 0 / 0.5023 GB, free: 12.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001751/0.2744, allocations: 448.9 kB / 0.5027 GB, free: 11.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.2745, allocations: 111 kB / 0.5028 GB, free: 11.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.2749, allocations: 316.5 kB / 0.5031 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2749, allocations: 33.64 kB / 0.5032 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2751, allocations: 211.5 kB / 0.5034 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.2751, allocations: 51.44 kB / 0.5034 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.2752, allocations: 49.7 kB / 0.5035 GB, free: 11.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2754, allocations: 342.8 kB / 0.5038 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.2757, allocations: 79.94 kB / 0.5039 GB, free: 10.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.276, allocations: 204.7 kB / 0.5041 GB, free: 10.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.2766, allocations: 293.9 kB / 0.5043 GB, free: 10.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2767, allocations: 0 / 0.5043 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007265/0.2774, allocations: 316.8 kB / 0.5046 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.2774, allocations: 4 kB / 0.5046 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2774, allocations: 4 kB / 0.5047 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.2775, allocations: 8 kB / 0.5047 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2777, allocations: 68.36 kB / 0.5047 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.2778, allocations: 11.88 kB / 0.5047 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.278, allocations: 47.66 kB / 0.5048 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2781, allocations: 12 kB / 0.5048 GB, free: 9.613 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.0001966/0.2783, allocations: 153.8 kB / 0.5049 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.2783, allocations: 27.62 kB / 0.505 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.2797, allocations: 0.7522 MB / 0.5057 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.2797, allocations: 11.98 kB / 0.5057 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.2797, allocations: 3.938 kB / 0.5057 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2797, allocations: 0 / 0.5057 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.2803, allocations: 0.5298 MB / 0.5062 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2804, allocations: 0 / 0.5062 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2806, allocations: 43.89 kB / 0.5063 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2806, allocations: 0 / 0.5063 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2806, allocations: 8 kB / 0.5063 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2806, allocations: 4 kB / 0.5063 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2806, allocations: 3.938 kB / 0.5063 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.2814, allocations: 453.7 kB / 0.5067 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.2815, allocations: 120.5 kB / 0.5068 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.2816, allocations: 27.69 kB / 0.5069 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2818, allocations: 15.98 kB / 0.5069 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.2819, allocations: 27.84 kB / 0.5069 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2819, allocations: 4 kB / 0.5069 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.2823, allocations: 338.9 kB / 0.5072 GB, free: 7.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2823, allocations: 0 / 0.5072 GB, free: 7.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003404/0.2857, allocations: 0.8394 MB / 0.5081 GB, free: 6.164 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.003892/0.2896, allocations: 0.9859 MB / 0.509 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.2904, allocations: 288.5 kB / 0.5093 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2904, allocations: 0 / 0.5093 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.2907, allocations: 163.9 kB / 0.5094 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2918, allocations: 182.1 kB / 0.5096 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2932, allocations: 0.8561 MB / 0.5105 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.2936, allocations: 0.8424 MB / 0.5113 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.2939, allocations: 143.4 kB / 0.5114 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.294, allocations: 35.42 kB / 0.5114 GB, free: 2.637 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.294, allocations: 3.938 kB / 0.5115 GB, free: 2.633 MB / 398.1 MB Notification: Performance of Templates: time 0.2846/0.5786, allocations: 33.81 MB / 0.5445 GB, free: 88.81 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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