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.002413/0.002413, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003009/0.003009, allocations: 161.3 kB / 24.27 MB, free: 152 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.624/1.624, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.4422/0.4422, allocations: 34.26 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.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.953e-06/1.953e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.328e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04483/0.04486, allocations: 30.77 MB / 408.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02733/0.07219, allocations: 17.51 MB / 425.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.07269, allocations: 15.88 kB / 425.6 MB, free: 2.508 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.07349, allocations: 202.5 kB / 425.8 MB, free: 2.309 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.07427, allocations: 294.1 kB / 426.1 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02127/0.09554, allocations: 6.073 MB / 432.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.09691, allocations: 0.8418 MB / 433 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.09734, allocations: 217 kB / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.112, allocations: 5.591 MB / 438.8 MB, free: 5.184 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.1127, allocations: 223.3 kB / 439 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.1128, allocations: 28 kB / 439 MB, free: 4.938 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2884/0.4012, allocations: 6.069 MB / 445.1 MB, free: 57.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.4014, allocations: 91.66 kB / 445.2 MB, free: 57.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4017, allocations: 142.9 kB / 445.3 MB, free: 57.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4118, allocations: 4.852 MB / 450.2 MB, free: 57.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4118, allocations: 0.9688 kB / 450.2 MB, free: 57.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4118, allocations: 0 / 450.2 MB, free: 57.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.4118, allocations: 0 / 450.2 MB, free: 57.31 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002293/0.4141, allocations: 1.101 MB / 451.3 MB, free: 56.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4142, allocations: 11.94 kB / 451.3 MB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.4157, allocations: 270.1 kB / 451.6 MB, free: 56.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.4162, allocations: 307.2 kB / 451.9 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.4162, allocations: 20.78 kB / 451.9 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.4162, allocations: 33.03 kB / 451.9 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009928/0.4172, allocations: 0.6393 MB / 452.5 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4172, allocations: 4.219 kB / 452.5 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4173, allocations: 13.75 kB / 452.6 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.4173, allocations: 8.781 kB / 452.6 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.4182, allocations: 363.6 kB / 452.9 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.4206, allocations: 2.34 MB / 455.3 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.4215, allocations: 297.9 kB / 455.6 MB, free: 54.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.4217, allocations: 96.56 kB / 455.7 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02834/0.45, allocations: 8.857 MB / 464.5 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4501, allocations: 37.39 kB / 464.5 MB, free: 53.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.4501, allocations: 0 / 464.5 MB, free: 53.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001638/0.4517, allocations: 490.9 kB / 465 MB, free: 53.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4517, allocations: 109.5 kB / 465.1 MB, free: 53.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.452, allocations: 377.1 kB / 465.5 MB, free: 53.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.452, allocations: 32.83 kB / 465.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4522, allocations: 279 kB / 465.8 MB, free: 53.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.4522, allocations: 53.17 kB / 465.9 MB, free: 53.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.4523, allocations: 76.38 kB / 465.9 MB, free: 53.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.4524, allocations: 0.5228 MB / 466.5 MB, free: 52.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4526, allocations: 75.14 kB / 466.5 MB, free: 52.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4528, allocations: 306.2 kB / 466.8 MB, free: 52.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.4532, allocations: 327.7 kB / 467.1 MB, free: 52.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.4532, allocations: 0 / 467.1 MB, free: 52.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005783/0.4538, allocations: 318.4 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4538, allocations: 6.594 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4538, allocations: 3.25 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4539, allocations: 9.5 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4541, allocations: 61.81 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4541, allocations: 6.25 kB / 467.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.4543, allocations: 37.7 kB / 467.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.4543, allocations: 20.88 kB / 467.6 MB, free: 52.08 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 0.0001327/0.4544, allocations: 198.8 kB / 467.8 MB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.4545, allocations: 31.48 kB / 467.8 MB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.4554, allocations: 0.7803 MB / 468.6 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.4554, allocations: 13.56 kB / 468.6 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4554, allocations: 4 kB / 468.6 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4554, allocations: 2.938 kB / 468.6 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.4559, allocations: 0.5123 MB / 469.1 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4559, allocations: 0 / 469.1 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.456, allocations: 38.92 kB / 469.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.456, allocations: 0 / 469.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.456, allocations: 3.812 kB / 469.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.456, allocations: 2.969 kB / 469.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.456, allocations: 0 / 469.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.4566, allocations: 0.5686 MB / 469.7 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.4567, allocations: 54.5 kB / 469.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.4567, allocations: 25.58 kB / 469.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4569, allocations: 12.55 kB / 469.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.457, allocations: 22.75 kB / 469.9 MB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.457, allocations: 7.219 kB / 469.9 MB, free: 51.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.4573, allocations: 358.4 kB / 470.2 MB, free: 51.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4573, allocations: 0 / 470.2 MB, free: 51.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002525/0.4598, allocations: 0.8656 MB / 471.1 MB, free: 50.99 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.00378/0.4636, allocations: 1.116 MB / 472.2 MB, free: 50.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.4642, allocations: 274.6 kB / 472.5 MB, free: 50.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4642, allocations: 2.938 kB / 472.5 MB, free: 50.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.4645, allocations: 160.5 kB / 472.6 MB, free: 50.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.4654, allocations: 171.7 kB / 472.8 MB, free: 50.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4668, allocations: 0.9602 MB / 473.8 MB, free: 50.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.467, allocations: 276.6 kB / 474 MB, free: 50.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.4673, allocations: 181 kB / 474.2 MB, free: 50.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.4674, allocations: 33.97 kB / 474.2 MB, free: 50.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4674, allocations: 0 / 474.2 MB, free: 50.18 MB / 410.7 MB Notification: Performance of Templates: time 0.04719/0.5146, allocations: 34.75 MB / 0.4971 GB, free: 38.9 MB / 410.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.9278712490340695]