Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009103/0.0009103, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8985/0.8985, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2608/0.2608, allocations: 34.86 MB / 296.6 MB, free: 400 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.35e-05, allocations: 6.5 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01254/0.01256, allocations: 14.5 MB / 340.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02317, allocations: 12.73 MB / 353.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.02347, allocations: 15.88 kB / 353.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.02389, allocations: 131 kB / 353.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.02445, allocations: 294.1 kB / 353.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.03549, allocations: 5.593 MB / 359.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009126/0.0364, allocations: 0.8653 MB / 360 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.03677, allocations: 217.3 kB / 360.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.0399, allocations: 2.22 MB / 362.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.04016, allocations: 211.3 kB / 362.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.0402, allocations: 32 kB / 362.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.04759, allocations: 5.927 MB / 368.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.04772, allocations: 95.66 kB / 368.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.04791, allocations: 135.7 kB / 368.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006592/0.0545, allocations: 4.56 MB / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.0545, allocations: 0 / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.05451, allocations: 0 / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.05451, allocations: 0 / 373.4 MB, free: 7.457 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.001656/0.05617, allocations: 0.9218 MB / 374.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.0562, allocations: 16.02 kB / 374.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.05711, allocations: 296 kB / 374.6 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.05745, allocations: 276.5 kB / 374.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.05747, allocations: 21.03 kB / 374.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.0575, allocations: 28.38 kB / 375 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.05814, allocations: 0.585 MB / 375.5 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.05816, allocations: 4.172 kB / 375.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.05818, allocations: 19.88 kB / 375.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.05819, allocations: 8 kB / 375.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.0586, allocations: 258.8 kB / 375.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.05995, allocations: 1.534 MB / 377.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.06045, allocations: 254.2 kB / 377.6 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.0605, allocations: 36.83 kB / 377.6 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2661/0.3266, allocations: 68.05 MB / 445.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.3266, allocations: 32.31 kB / 445.7 MB, free: 100.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.826e-06/0.3266, allocations: 0 / 445.7 MB, free: 100.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009359/0.3275, allocations: 370.4 kB / 446.1 MB, free: 100.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3276, allocations: 107.2 kB / 446.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3278, allocations: 257.3 kB / 446.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3278, allocations: 32.58 kB / 446.5 MB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3279, allocations: 201.5 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.328, allocations: 50.86 kB / 446.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.328, allocations: 66.5 kB / 446.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.3281, allocations: 334.3 kB / 447.1 MB, free: 100 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.3282, allocations: 36.38 kB / 447.2 MB, free: 100 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3283, allocations: 215.5 kB / 447.4 MB, free: 99.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3284, allocations: 213.3 kB / 447.6 MB, free: 99.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3285, allocations: 5.625 kB / 447.6 MB, free: 99.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001944/0.3286, allocations: 200.6 kB / 447.8 MB, free: 99.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3287, allocations: 9.359 kB / 447.8 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3287, allocations: 5.438 kB / 447.8 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3287, allocations: 7.781 kB / 447.8 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3288, allocations: 64.27 kB / 447.9 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3288, allocations: 6 kB / 447.9 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3289, allocations: 41.5 kB / 447.9 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.329, allocations: 12.5 kB / 447.9 MB, free: 99.62 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 8.211e-05/0.329, allocations: 135.6 kB / 448 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3291, allocations: 21.17 kB / 448.1 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.3295, allocations: 0.7038 MB / 448.8 MB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3296, allocations: 17.44 kB / 448.8 MB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3296, allocations: 0 / 448.8 MB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3296, allocations: 0 / 448.8 MB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3298, allocations: 380.9 kB / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3298, allocations: 0 / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.3299, allocations: 40.22 kB / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3299, allocations: 0 / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3299, allocations: 3.625 kB / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3299, allocations: 6.344 kB / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3299, allocations: 0 / 449.2 MB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3302, allocations: 428.1 kB / 449.6 MB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.3302, allocations: 47.25 kB / 449.7 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3303, allocations: 26.16 kB / 449.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.3303, allocations: 20.8 kB / 449.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.3304, allocations: 20.16 kB / 449.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3304, allocations: 1.734 kB / 449.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3305, allocations: 167 kB / 449.9 MB, free: 98.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3305, allocations: 0 / 449.9 MB, free: 98.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001827/0.3323, allocations: 0.8672 MB / 450.8 MB, free: 98.93 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.002307/0.3346, allocations: 1.152 MB / 451.9 MB, free: 98.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3349, allocations: 174.6 kB / 452.1 MB, free: 98.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.3349, allocations: 5.375 kB / 452.1 MB, free: 98.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.335, allocations: 98.89 kB / 452.2 MB, free: 98.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3354, allocations: 179.2 kB / 452.4 MB, free: 98.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3365, allocations: 0.9319 MB / 453.3 MB, free: 98.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.3366, allocations: 134.4 kB / 453.4 MB, free: 98.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.3368, allocations: 170.8 kB / 453.6 MB, free: 98.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.337, allocations: 169.7 kB / 453.8 MB, free: 98.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.337, allocations: 0 / 453.8 MB, free: 98.25 MB / 410.7 MB Notification: Performance of Templates: time 0.0312/0.3682, allocations: 38.39 MB / 492.2 MB, free: 66.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.359575932845473]