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.001889/0.001889, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00227/0.00227, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.4292/0.4292, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.622e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04089/0.04093, allocations: 27.52 MB / 404.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.06457, allocations: 13.82 MB / 418.6 MB, free: 9.484 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.06512, allocations: 15.88 kB / 418.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.06605, allocations: 202.5 kB / 418.8 MB, free: 9.27 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.06699, allocations: 286.1 kB / 419.1 MB, free: 8.988 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01981/0.0868, allocations: 5.658 MB / 424.8 MB, free: 3.309 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.08841, allocations: 0.8263 MB / 425.6 MB, free: 2.477 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005487/0.08896, allocations: 208.9 kB / 425.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01582/0.1048, allocations: 5.607 MB / 431.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.1054, allocations: 207.4 kB / 431.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.1056, allocations: 28 kB / 431.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.1208, allocations: 5.853 MB / 437.5 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.1211, allocations: 91.66 kB / 437.6 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.1216, allocations: 139.7 kB / 437.7 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.1349, allocations: 4.65 MB / 442.4 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1349, allocations: 0 / 442.4 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1349, allocations: 0 / 442.4 MB, free: 1.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1349, allocations: 0 / 442.4 MB, free: 1.602 MB / 410.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.003209/0.1381, allocations: 0.9431 MB / 443.3 MB, free: 0.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.1382, allocations: 12.03 kB / 443.3 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.1394, allocations: 188 kB / 443.5 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.1401, allocations: 296.5 kB / 443.8 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.1402, allocations: 24.86 kB / 443.8 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1402, allocations: 28.38 kB / 443.8 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2148/0.3551, allocations: 0.5871 MB / 444.4 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3551, allocations: 10.47 kB / 444.4 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.3551, allocations: 10.44 kB / 444.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3551, allocations: 6.688 kB / 444.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009947/0.3561, allocations: 374.5 kB / 444.8 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3586, allocations: 1.724 MB / 446.6 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/0.3595, allocations: 263.3 kB / 446.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.3598, allocations: 93.69 kB / 446.9 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.36, allocations: 97 kB / 447 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.36, allocations: 36.75 kB / 447 MB, free: 103.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.325e-06/0.36, allocations: 0.6562 kB / 447 MB, free: 103.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001567/0.3616, allocations: 470.6 kB / 447.5 MB, free: 103.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3616, allocations: 112.9 kB / 447.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3618, allocations: 279 kB / 447.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3619, allocations: 25.7 kB / 447.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.362, allocations: 219.3 kB / 448.1 MB, free: 102.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.362, allocations: 49.41 kB / 448.2 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.3621, allocations: 58.73 kB / 448.2 MB, free: 102.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3621, allocations: 335 kB / 448.5 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.3624, allocations: 86.75 kB / 448.6 MB, free: 102.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3627, allocations: 254.4 kB / 448.9 MB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.3632, allocations: 275.3 kB / 449.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3632, allocations: 3.094 kB / 449.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006666/0.3638, allocations: 324.9 kB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3639, allocations: 5.781 kB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3639, allocations: 6.094 kB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.3639, allocations: 5.812 kB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3641, allocations: 66.48 kB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3641, allocations: 6.844 kB / 449.6 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3644, allocations: 42.89 kB / 449.6 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3644, allocations: 16.56 kB / 449.6 MB, free: 101.9 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.0001166/0.3645, allocations: 154.8 kB / 449.8 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3646, allocations: 29.08 kB / 449.8 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/0.3655, allocations: 0.7794 MB / 450.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3656, allocations: 10.36 kB / 450.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3656, allocations: 3.938 kB / 450.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3656, allocations: 0 / 450.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.3659, allocations: 433.6 kB / 451 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.366, allocations: 2.625 kB / 451 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3662, allocations: 46.44 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3662, allocations: 0 / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3662, allocations: 10.67 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3662, allocations: 1.094 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3662, allocations: 1.594 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.3668, allocations: 472.5 kB / 451.5 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3668, allocations: 45.11 kB / 451.6 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.3669, allocations: 20.72 kB / 451.6 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3671, allocations: 15.89 kB / 451.6 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3672, allocations: 15.89 kB / 451.6 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3672, allocations: 14.28 kB / 451.6 MB, free: 100.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.3674, allocations: 307.2 kB / 451.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3674, allocations: 0 / 451.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002098/0.3695, allocations: 0.8604 MB / 452.8 MB, free: 100.7 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.003047/0.3726, allocations: 1.099 MB / 453.9 MB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.3732, allocations: 277.1 kB / 454.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3732, allocations: 0 / 454.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.3735, allocations: 136.9 kB / 454.3 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.3742, allocations: 154.8 kB / 454.5 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3753, allocations: 0.8346 MB / 455.3 MB, free: 99.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3755, allocations: 255.7 kB / 455.5 MB, free: 99.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3757, allocations: 138.7 kB / 455.7 MB, free: 99.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.3758, allocations: 35.2 kB / 455.7 MB, free: 99.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3758, allocations: 0 / 455.7 MB, free: 99.73 MB / 410.7 MB Notification: Performance of Templates: time 0.04131/0.4171, allocations: 33.29 MB / 489 MB, free: 89.1 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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: 7.550064088078216]