Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 164.9 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.909e-05, allocations: 2.281 kB / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1913/0.1913, allocations: 27.52 MB / 467.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.207, allocations: 13.81 MB / 481.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003843/0.2074, allocations: 14.16 kB / 481.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.2081, allocations: 199.1 kB / 481.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.2088, allocations: 284.7 kB / 481.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01649/0.2253, allocations: 5.681 MB / 487.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.2266, allocations: 0.8316 MB / 488.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.227, allocations: 186.9 kB / 488.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.2403, allocations: 5.616 MB / 494.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.2409, allocations: 213.2 kB / 494.4 MB, free: 3.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.241, allocations: 28 kB / 494.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.2525, allocations: 5.853 MB / 0.4886 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.2527, allocations: 87.67 kB / 0.4887 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.253, allocations: 139.7 kB / 0.4888 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009641/0.2627, allocations: 4.646 MB / 0.4933 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2627, allocations: 0 / 0.4933 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2627, allocations: 0 / 0.4933 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2627, allocations: 0 / 0.4933 GB, free: 9.156 MB / 398.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.00237/0.265, allocations: 0.9469 MB / 0.4943 GB, free: 8.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2651, allocations: 12.03 kB / 0.4943 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.266, allocations: 116.7 kB / 0.4944 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.2665, allocations: 284.5 kB / 0.4947 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.2666, allocations: 24.88 kB / 0.4947 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.2666, allocations: 32.31 kB / 0.4947 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.2679, allocations: 0.5869 MB / 0.4953 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2679, allocations: 4.359 kB / 0.4953 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.2679, allocations: 15.94 kB / 0.4953 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2679, allocations: 8 kB / 0.4953 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.269, allocations: 365.5 kB / 0.4957 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.2718, allocations: 1.718 MB / 0.4973 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2728, allocations: 266.3 kB / 0.4976 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.2731, allocations: 88.8 kB / 0.4977 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.2734, allocations: 107.9 kB / 0.4978 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2734, allocations: 34.78 kB / 0.4978 GB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2734, allocations: 3.938 kB / 0.4978 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001757/0.2752, allocations: 445.1 kB / 0.4982 GB, free: 3.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.2753, allocations: 106.8 kB / 0.4983 GB, free: 3.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.2756, allocations: 284 kB / 0.4986 GB, free: 3.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2756, allocations: 29.7 kB / 0.4986 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2758, allocations: 216 kB / 0.4988 GB, free: 3.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.2758, allocations: 51.58 kB / 0.4989 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.2759, allocations: 49.7 kB / 0.4989 GB, free: 3.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2761, allocations: 338.8 kB / 0.4993 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2763, allocations: 87.92 kB / 0.4993 GB, free: 2.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.2767, allocations: 254.8 kB / 0.4996 GB, free: 2.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.2774, allocations: 281.8 kB / 0.4999 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2774, allocations: 2.188 kB / 0.4999 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007824/0.2782, allocations: 321.4 kB / 0.5002 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2782, allocations: 8 kB / 0.5002 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2782, allocations: 4 kB / 0.5002 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.2782, allocations: 4 kB / 0.5002 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.2785, allocations: 67.89 kB / 0.5002 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.2785, allocations: 7.938 kB / 0.5003 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.2787, allocations: 35.83 kB / 0.5003 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2788, allocations: 15.98 kB / 0.5003 GB, free: 1.605 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.0001804/0.2789, allocations: 158.3 kB / 0.5005 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.279, allocations: 27.86 kB / 0.5005 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2803, allocations: 0.7911 MB / 0.5013 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.2803, allocations: 7.984 kB / 0.5013 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2803, allocations: 0 / 0.5013 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2803, allocations: 0 / 0.5013 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.2808, allocations: 438.7 kB / 0.5017 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2808, allocations: 8 kB / 0.5017 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.281, allocations: 43.89 kB / 0.5017 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.281, allocations: 0 / 0.5017 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.281, allocations: 4 kB / 0.5017 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.2811, allocations: 8 kB / 0.5017 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2811, allocations: 0 / 0.5017 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.2819, allocations: 470.9 kB / 0.5022 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.2819, allocations: 39.64 kB / 0.5022 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.282, allocations: 19.78 kB / 0.5022 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2822, allocations: 23.98 kB / 0.5023 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.2823, allocations: 15.97 kB / 0.5023 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2823, allocations: 7.984 kB / 0.5023 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.2827, allocations: 307.1 kB / 0.5026 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2827, allocations: 0 / 0.5026 GB, free: 15.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002453/0.2851, allocations: 0.8615 MB / 0.5034 GB, free: 14.34 MB / 414.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.004193/0.2893, allocations: 1.088 MB / 0.5045 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.2901, allocations: 275.6 kB / 0.5048 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2901, allocations: 0 / 0.5048 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.2904, allocations: 136.9 kB / 0.5049 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.2912, allocations: 149.2 kB / 0.505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2926, allocations: 0.8259 MB / 0.5058 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.2928, allocations: 243.9 kB / 0.5061 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.2931, allocations: 138.8 kB / 0.5062 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.2932, allocations: 36.48 kB / 0.5062 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2932, allocations: 0 / 0.5062 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Templates: time 0.04847/0.3417, allocations: 33.12 MB / 0.5386 GB, free: 10.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.615735650062561]