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.001297/0.001297, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001417/0.001417, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.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.2283/0.2283, allocations: 44.91 MB / 359.6 MB, free: 6.316 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.91 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 65.47 MB / 0.5582 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03661/0.3641, allocations: 30.62 MB / 0.5881 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02183/0.3859, allocations: 15.68 MB / 0.6035 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.3864, allocations: 15.81 kB / 0.6035 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.3873, allocations: 218.6 kB / 0.6037 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008797/0.3881, allocations: 274.4 kB / 0.6039 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01669/0.4048, allocations: 5.667 MB / 0.6095 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.4062, allocations: 0.8304 MB / 0.6103 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.4067, allocations: 204.9 kB / 0.6105 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01243/0.4191, allocations: 5.513 MB / 0.6159 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.4196, allocations: 250.9 kB / 0.6161 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.4197, allocations: 28 kB / 0.6161 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.4332, allocations: 6.103 MB / 0.6221 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.4334, allocations: 87.67 kB / 0.6222 GB, free: 6.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.4337, allocations: 187.1 kB / 0.6224 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009021/0.4428, allocations: 3.679 MB / 0.6259 GB, free: 2.172 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4428, allocations: 0 / 0.6259 GB, free: 2.172 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4428, allocations: 0 / 0.6259 GB, free: 2.172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.4428, allocations: 0 / 0.6259 GB, free: 2.172 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.002686/0.4455, allocations: 0.9587 MB / 0.6269 GB, free: 1.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4455, allocations: 11.97 kB / 0.6269 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4466, allocations: 120.6 kB / 0.627 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.4472, allocations: 280.9 kB / 0.6273 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.4472, allocations: 24.81 kB / 0.6273 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.4472, allocations: 24.38 kB / 0.6273 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4484, allocations: 466 kB / 0.6278 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4484, allocations: 0 / 0.6278 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4485, allocations: 12 kB / 0.6278 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4485, allocations: 8 kB / 0.6278 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4496, allocations: 365.3 kB / 0.6281 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.4529, allocations: 2.198 MB / 0.6303 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4539, allocations: 266.3 kB / 0.6305 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.4542, allocations: 92.8 kB / 0.6306 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.4545, allocations: 99.89 kB / 0.6307 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4545, allocations: 34.56 kB / 0.6308 GB, free: 12.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.4545, allocations: 3.938 kB / 0.6308 GB, free: 12.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001697/0.4562, allocations: 453 kB / 0.6312 GB, free: 12.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.4563, allocations: 114.7 kB / 0.6313 GB, free: 12.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.4567, allocations: 324.4 kB / 0.6316 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.4567, allocations: 29.92 kB / 0.6316 GB, free: 12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4569, allocations: 211.9 kB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.4569, allocations: 39.69 kB / 0.6319 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.457, allocations: 61.64 kB / 0.6319 GB, free: 11.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4572, allocations: 334.8 kB / 0.6323 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.4575, allocations: 91.94 kB / 0.6323 GB, free: 11.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.4578, allocations: 207.3 kB / 0.6325 GB, free: 11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.4584, allocations: 269.5 kB / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4584, allocations: 4 kB / 0.6328 GB, free: 10.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007616/0.4592, allocations: 321.4 kB / 0.6331 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4592, allocations: 15.98 kB / 0.6331 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4592, allocations: 4 kB / 0.6331 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4593, allocations: 4 kB / 0.6331 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.4595, allocations: 67.89 kB / 0.6332 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4595, allocations: 7.938 kB / 0.6332 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.4598, allocations: 39.72 kB / 0.6332 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4598, allocations: 16 kB / 0.6333 GB, free: 10.21 MB / 478.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.000175/0.46, allocations: 157.7 kB / 0.6334 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.4601, allocations: 35.8 kB / 0.6334 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.4613, allocations: 0.7761 MB / 0.6342 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4613, allocations: 4 kB / 0.6342 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4613, allocations: 3.938 kB / 0.6342 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4613, allocations: 3.984 kB / 0.6342 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.462, allocations: 0.5057 MB / 0.6347 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.462, allocations: 0 / 0.6347 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4622, allocations: 43.95 kB / 0.6347 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4622, allocations: 0 / 0.6347 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4622, allocations: 11.98 kB / 0.6348 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4622, allocations: 0 / 0.6348 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4622, allocations: 3.938 kB / 0.6348 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.463, allocations: 477.9 kB / 0.6352 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.4631, allocations: 43.64 kB / 0.6353 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.4631, allocations: 23.73 kB / 0.6353 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.4633, allocations: 19.98 kB / 0.6353 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.4634, allocations: 19.89 kB / 0.6353 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.4634, allocations: 8 kB / 0.6353 GB, free: 8.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.4638, allocations: 338.9 kB / 0.6356 GB, free: 7.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4638, allocations: 4 kB / 0.6357 GB, free: 7.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00244/0.4663, allocations: 0.8538 MB / 0.6365 GB, free: 6.82 MB / 478.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.00397/0.4702, allocations: 0.9893 MB / 0.6375 GB, free: 5.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007518/0.471, allocations: 276.5 kB / 0.6377 GB, free: 5.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.471, allocations: 0 / 0.6377 GB, free: 5.551 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.4713, allocations: 139.9 kB / 0.6379 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/0.4722, allocations: 182.9 kB / 0.638 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4737, allocations: 0.8843 MB / 0.6389 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.4742, allocations: 0.8422 MB / 0.6397 GB, free: 3.449 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.4743, allocations: 35.42 kB / 0.6397 GB, free: 3.414 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4743, allocations: 0 / 0.6397 GB, free: 3.414 MB / 478.1 MB Notification: Performance of Templates: time 0.03346/0.5077, allocations: 19.93 MB / 0.6592 GB, free: 15.49 MB / 0.4981 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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: 10.360694839153439]