Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001352/0.001352, allocations: 117.4 kB / 18.45 MB, free: 4.562 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.001383/0.001383, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2632/0.2632, allocations: 46.91 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.91 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1444, allocations: 65.97 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03914/0.1836, allocations: 30.38 MB / 0.5862 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3508/0.5344, allocations: 15.58 MB / 0.6014 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.5348, allocations: 18.56 kB / 0.6014 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.5356, allocations: 222 kB / 0.6016 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.5363, allocations: 271 kB / 0.6019 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02012/0.5564, allocations: 5.651 MB / 0.6074 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.5581, allocations: 0.8233 MB / 0.6082 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.5587, allocations: 203.5 kB / 0.6084 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01401/0.5727, allocations: 5.496 MB / 0.6138 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007038/0.5734, allocations: 248.7 kB / 0.614 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.5735, allocations: 28.28 kB / 0.614 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/0.5881, allocations: 6.105 MB / 0.62 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5883, allocations: 91.05 kB / 0.6201 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.5887, allocations: 194.8 kB / 0.6203 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5988, allocations: 3.671 MB / 0.6238 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5988, allocations: 0 / 0.6238 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5988, allocations: 0 / 0.6238 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.5988, allocations: 1 kB / 0.6238 GB, free: 15.71 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.003353/0.6022, allocations: 1.029 MB / 0.6248 GB, free: 14.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6022, allocations: 12.84 kB / 0.6249 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6032, allocations: 117.5 kB / 0.625 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.6038, allocations: 348.2 kB / 0.6253 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.6039, allocations: 20.12 kB / 0.6253 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.6039, allocations: 24.69 kB / 0.6253 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.6051, allocations: 453.1 kB / 0.6258 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6051, allocations: 1.344 kB / 0.6258 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.6052, allocations: 14.66 kB / 0.6258 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6052, allocations: 8 kB / 0.6258 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6063, allocations: 374.2 kB / 0.6262 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.6097, allocations: 2.382 MB / 0.6285 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6107, allocations: 270.6 kB / 0.6287 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.611, allocations: 86.17 kB / 0.6288 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/0.6115, allocations: 489.6 kB / 0.6293 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6115, allocations: 31.94 kB / 0.6293 GB, free: 11.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.6115, allocations: 0 / 0.6293 GB, free: 11.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001773/0.6133, allocations: 454.8 kB / 0.6298 GB, free: 10.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.6134, allocations: 108.1 kB / 0.6299 GB, free: 10.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.6138, allocations: 332.4 kB / 0.6302 GB, free: 10.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.6138, allocations: 27.02 kB / 0.6302 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.614, allocations: 211.4 kB / 0.6304 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.614, allocations: 44.08 kB / 0.6304 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6141, allocations: 58.62 kB / 0.6305 GB, free: 10.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6143, allocations: 338.4 kB / 0.6308 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.6146, allocations: 84.86 kB / 0.6309 GB, free: 9.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.615, allocations: 203.2 kB / 0.6311 GB, free: 9.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.6156, allocations: 283.8 kB / 0.6314 GB, free: 9.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6156, allocations: 1.375 kB / 0.6314 GB, free: 9.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007477/0.6164, allocations: 321 kB / 0.6317 GB, free: 9.191 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6164, allocations: 5.906 kB / 0.6317 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6164, allocations: 5.219 kB / 0.6317 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.6164, allocations: 10 kB / 0.6317 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.6167, allocations: 68.73 kB / 0.6318 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.6167, allocations: 13.38 kB / 0.6318 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.617, allocations: 43.16 kB / 0.6318 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.617, allocations: 14.16 kB / 0.6318 GB, free: 9.125 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.0001722/0.6172, allocations: 158.8 kB / 0.632 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.6172, allocations: 30 kB / 0.632 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.6184, allocations: 0.7404 MB / 0.6327 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.6184, allocations: 10.61 kB / 0.6327 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6184, allocations: 3.938 kB / 0.6327 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.6184, allocations: 6.719 kB / 0.6327 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.619, allocations: 0.526 MB / 0.6333 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.619, allocations: 3.984 kB / 0.6333 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.6192, allocations: 45.39 kB / 0.6333 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6192, allocations: 0 / 0.6333 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6193, allocations: 4 kB / 0.6333 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6193, allocations: 3.5 kB / 0.6333 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6193, allocations: 3.938 kB / 0.6333 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.62, allocations: 467 kB / 0.6338 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6201, allocations: 120.3 kB / 0.6339 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.6202, allocations: 24.84 kB / 0.6339 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.6204, allocations: 20.81 kB / 0.6339 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.6205, allocations: 21.7 kB / 0.6339 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6205, allocations: 10.33 kB / 0.634 GB, free: 7.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.6209, allocations: 341 kB / 0.6343 GB, free: 7.363 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6209, allocations: 0 / 0.6343 GB, free: 7.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003486/0.6244, allocations: 0.8546 MB / 0.6351 GB, free: 7.207 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.004576/0.6289, allocations: 0.9802 MB / 0.6361 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.6298, allocations: 267.2 kB / 0.6363 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6298, allocations: 3.906 kB / 0.6363 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.6301, allocations: 143 kB / 0.6365 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6311, allocations: 172.7 kB / 0.6366 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6325, allocations: 0.8949 MB / 0.6375 GB, free: 6.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.633, allocations: 0.8472 MB / 0.6383 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.6331, allocations: 36.14 kB / 0.6384 GB, free: 5.25 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6331, allocations: 0 / 0.6384 GB, free: 5.25 MB / 462.1 MB Notification: Performance of Templates: time 0.03424/0.6673, allocations: 19.94 MB / 0.6578 GB, free: 2.234 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.630784300010419]