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.001002/0.001002, allocations: 79.59 kB / 21.18 MB, free: 3.379 MB / 18.57 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.00133/0.00133, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9091/0.9091, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2637/0.2637, allocations: 32.81 MB / 294.3 MB, free: 1.199 MB / 266.7 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.423e-06/1.423e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.715e-05, allocations: 2.312 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01196/0.01198, allocations: 14.51 MB / 390.5 MB, free: 6.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.02142, allocations: 11.69 MB / 402.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.02162, allocations: 15.88 kB / 402.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.02202, allocations: 135 kB / 402.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.02247, allocations: 286.2 kB / 402.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009436/0.03191, allocations: 5.371 MB / 408 MB, free: 4.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.03277, allocations: 0.842 MB / 408.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.0331, allocations: 213.2 kB / 409.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.0367, allocations: 2.205 MB / 411.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.03697, allocations: 211.4 kB / 411.5 MB, free: 1.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.03702, allocations: 28 kB / 411.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00861/0.04563, allocations: 5.814 MB / 417.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.04575, allocations: 95.61 kB / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.0459, allocations: 131.8 kB / 417.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005772/0.05167, allocations: 4.463 MB / 422 MB, free: 6.461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.05167, allocations: 0 / 422 MB, free: 6.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05168, allocations: 0 / 422 MB, free: 6.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.05168, allocations: 0 / 422 MB, free: 6.461 MB / 394.7 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.001675/0.05336, allocations: 1.023 MB / 423 MB, free: 5.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.05339, allocations: 8.031 kB / 423 MB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.05414, allocations: 176.1 kB / 423.2 MB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.05452, allocations: 291.4 kB / 423.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.05455, allocations: 20.88 kB / 423.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.05459, allocations: 28.38 kB / 423.5 MB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.0554, allocations: 0.5935 MB / 424.1 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.05542, allocations: 8.109 kB / 424.1 MB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.05545, allocations: 15.94 kB / 424.2 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.05546, allocations: 8 kB / 424.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.05601, allocations: 254.6 kB / 424.4 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.05798, allocations: 2.19 MB / 426.6 MB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.05859, allocations: 234.8 kB / 426.8 MB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.05866, allocations: 39.66 kB / 426.9 MB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.05885, allocations: 95.92 kB / 427 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.05887, allocations: 37.39 kB / 427 MB, free: 1.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.05887, allocations: 0 / 427 MB, free: 1.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008389/0.05971, allocations: 345 kB / 427.3 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.05976, allocations: 110.8 kB / 427.4 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.05999, allocations: 318.2 kB / 427.8 MB, free: 396 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.06001, allocations: 25.7 kB / 427.8 MB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.06014, allocations: 270.6 kB / 428 MB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.06017, allocations: 43.69 kB / 428.1 MB, free: 44 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.06026, allocations: 59.39 kB / 428.1 MB, free: 15.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.0604, allocations: 0.5078 MB / 428.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.06048, allocations: 47.95 kB / 428.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.06067, allocations: 269.5 kB / 429 MB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.06091, allocations: 254.5 kB / 429.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.06091, allocations: 4 kB / 429.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000342/0.06125, allocations: 249.9 kB / 429.5 MB, free: 14.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.06127, allocations: 15.98 kB / 429.5 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.06128, allocations: 4 kB / 429.5 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.06129, allocations: 4 kB / 429.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.06145, allocations: 55.91 kB / 429.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.06146, allocations: 11.94 kB / 429.6 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.06159, allocations: 27.81 kB / 429.6 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.06161, allocations: 12 kB / 429.6 MB, free: 14.36 MB / 410.7 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.0001084/0.06171, allocations: 176.5 kB / 429.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.06177, allocations: 35.81 kB / 429.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.06233, allocations: 0.5218 MB / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.06233, allocations: 7.984 kB / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.06234, allocations: 0 / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.06234, allocations: 0 / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.06271, allocations: 397.9 kB / 430.7 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.06272, allocations: 7.922 kB / 430.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.06282, allocations: 35.98 kB / 430.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.06282, allocations: 0 / 430.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.06283, allocations: 7.938 kB / 430.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.06284, allocations: 3.984 kB / 430.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.06284, allocations: 0 / 430.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.0632, allocations: 407.4 kB / 431.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.06324, allocations: 35.7 kB / 431.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.06328, allocations: 23.77 kB / 431.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.0634, allocations: 23.92 kB / 431.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.06346, allocations: 15.97 kB / 431.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.06347, allocations: 8 kB / 431.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.06372, allocations: 307 kB / 431.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06372, allocations: 0 / 431.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0016/0.06532, allocations: 0.8577 MB / 432.4 MB, free: 11.45 MB / 410.7 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.002703/0.06803, allocations: 1.083 MB / 433.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.06832, allocations: 160.1 kB / 433.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.06833, allocations: 4.188 kB / 433.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.06843, allocations: 83.59 kB / 433.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.06903, allocations: 178.3 kB / 433.9 MB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.0703, allocations: 0.7781 MB / 434.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.07038, allocations: 113.1 kB / 434.8 MB, free: 9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.07067, allocations: 138.7 kB / 435 MB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.07073, allocations: 32.5 kB / 435 MB, free: 8.832 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.07073, allocations: 0 / 435 MB, free: 8.832 MB / 410.7 MB Notification: Performance of Templates: time 0.1605/0.2312, allocations: 39.15 MB / 474.1 MB, free: 74.49 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0252281948924065]