Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.001384/0.001384, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001561/0.001561, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 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.9291/0.9291, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2543/0.2543, allocations: 34.27 MB / 296.1 MB, free: 0.6641 MB / 266.7 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.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.027e-05, allocations: 6.031 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0158/0.01582, allocations: 14.55 MB / 339.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.02626, allocations: 12.74 MB / 352.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.02643, allocations: 15.88 kB / 352.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.0268, allocations: 127 kB / 352.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.02721, allocations: 298 kB / 353 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008615/0.03583, allocations: 5.07 MB / 358.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006637/0.03649, allocations: 0.8692 MB / 359 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.03674, allocations: 209.2 kB / 359.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.03923, allocations: 2.219 MB / 361.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.03944, allocations: 203.4 kB / 361.6 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.03947, allocations: 35.92 kB / 361.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007475/0.04695, allocations: 6.333 MB / 367.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.04704, allocations: 99.66 kB / 368 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.04714, allocations: 139.7 kB / 368.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.05205, allocations: 4.556 MB / 372.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.05206, allocations: 0 / 372.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05206, allocations: 0 / 372.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.05206, allocations: 0 / 372.7 MB, free: 7.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001052/0.05312, allocations: 0.9257 MB / 373.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.05315, allocations: 12.03 kB / 373.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.05423, allocations: 292 kB / 374 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.05452, allocations: 264.6 kB / 374.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.05454, allocations: 29.03 kB / 374.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.05457, allocations: 28.38 kB / 374.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.05522, allocations: 0.5921 MB / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.05524, allocations: 192 / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.05526, allocations: 19.94 kB / 374.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.05527, allocations: 8 kB / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.05569, allocations: 256.8 kB / 375.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.05695, allocations: 1.542 MB / 376.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.05746, allocations: 256.4 kB / 376.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.05751, allocations: 37.11 kB / 377 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2619/0.3195, allocations: 68.04 MB / 445 MB, free: 101.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3195, allocations: 37.33 kB / 445 MB, free: 101.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.3195, allocations: 1.125 kB / 445 MB, free: 101.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009767/0.3205, allocations: 365.2 kB / 445.4 MB, free: 101.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3205, allocations: 104.1 kB / 445.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3207, allocations: 262.8 kB / 445.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3207, allocations: 28.7 kB / 445.8 MB, free: 101 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.3208, allocations: 198.8 kB / 446 MB, free: 100.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3208, allocations: 55.44 kB / 446 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.3208, allocations: 60.17 kB / 446.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.3209, allocations: 340 kB / 446.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.3209, allocations: 44.58 kB / 446.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.321, allocations: 211.5 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3212, allocations: 216.1 kB / 446.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3212, allocations: 8.344 kB / 446.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001917/0.3214, allocations: 204.2 kB / 447.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3214, allocations: 8.25 kB / 447.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3214, allocations: 3.406 kB / 447.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3214, allocations: 7.094 kB / 447.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3216, allocations: 66.94 kB / 447.2 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3216, allocations: 6.688 kB / 447.2 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3217, allocations: 34.94 kB / 447.2 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3217, allocations: 12.97 kB / 447.2 MB, free: 100.2 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 (30): * Single equations (assignments): 30 * 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 7.338e-05/0.3218, allocations: 140.9 kB / 447.4 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3218, allocations: 23.58 kB / 447.4 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.3222, allocations: 0.6973 MB / 448.1 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3222, allocations: 18.02 kB / 448.1 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3222, allocations: 0 / 448.1 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3222, allocations: 3.312 kB / 448.1 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3225, allocations: 376.2 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3225, allocations: 0 / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.3226, allocations: 43.47 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3226, allocations: 2 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3226, allocations: 0.7969 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3226, allocations: 5.25 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3226, allocations: 0.8906 kB / 448.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3229, allocations: 440 kB / 449 MB, free: 99.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.3229, allocations: 50.56 kB / 449 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.3229, allocations: 23.53 kB / 449 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.323, allocations: 12.75 kB / 449 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3231, allocations: 19.91 kB / 449.1 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3231, allocations: 6.547 kB / 449.1 MB, free: 99.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.3232, allocations: 157.2 kB / 449.2 MB, free: 99.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3232, allocations: 0 / 449.2 MB, free: 99.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001772/0.3249, allocations: 0.8707 MB / 450.1 MB, free: 99.52 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: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002111/0.327, allocations: 1.161 MB / 451.3 MB, free: 99.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3272, allocations: 163.8 kB / 451.4 MB, free: 99.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.3272, allocations: 3.188 kB / 451.4 MB, free: 99.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.3273, allocations: 100.5 kB / 451.5 MB, free: 99.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3277, allocations: 187.4 kB / 451.7 MB, free: 99.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.3287, allocations: 0.9207 MB / 452.6 MB, free: 98.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.336e-05/0.3288, allocations: 137.5 kB / 452.8 MB, free: 98.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.3289, allocations: 169.4 kB / 452.9 MB, free: 98.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.3292, allocations: 172.9 kB / 453.1 MB, free: 98.84 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3292, allocations: 2.5 kB / 453.1 MB, free: 98.84 MB / 410.7 MB Notification: Performance of Templates: time 0.02895/0.3581, allocations: 38.39 MB / 491.5 MB, free: 67.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.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: 4.440176344010979]