Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001478/0.001478, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001671/0.001671, allocations: 165.3 kB / 24.27 MB, free: 148 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.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.4686/0.4686, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.477e-05, allocations: 6.25 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04191/0.04194, allocations: 27.54 MB / 402.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.06721, allocations: 15.66 MB / 418.5 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.06764, allocations: 15.88 kB / 418.5 MB, free: 9.621 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.06854, allocations: 206.5 kB / 418.7 MB, free: 9.418 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000928/0.06947, allocations: 290.1 kB / 419 MB, free: 9.133 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02035/0.08982, allocations: 6.084 MB / 425 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.09148, allocations: 0.8457 MB / 425.9 MB, free: 2.176 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.09193, allocations: 201.1 kB / 426.1 MB, free: 1.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.1055, allocations: 5.61 MB / 431.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.1061, allocations: 211.4 kB / 431.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.1062, allocations: 28 kB / 431.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/0.1197, allocations: 6.067 MB / 438 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.1199, allocations: 103.6 kB / 438.1 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.1202, allocations: 135.8 kB / 438.2 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.1329, allocations: 4.852 MB / 443.1 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1329, allocations: 0 / 443.1 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1329, allocations: 0 / 443.1 MB, free: 0.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1329, allocations: 0 / 443.1 MB, free: 0.875 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.1804/0.3133, allocations: 0.9918 MB / 444.1 MB, free: 107.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3133, allocations: 7.875 kB / 444.1 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.3151, allocations: 281 kB / 444.4 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.3156, allocations: 299.9 kB / 444.7 MB, free: 107 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.3157, allocations: 26.12 kB / 444.7 MB, free: 107 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.3157, allocations: 32.62 kB / 444.7 MB, free: 107 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3168, allocations: 0.627 MB / 445.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3169, allocations: 3.625 kB / 445.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.3169, allocations: 11.53 kB / 445.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3169, allocations: 12.84 kB / 445.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.318, allocations: 409 kB / 445.8 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.3202, allocations: 1.768 MB / 447.5 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3213, allocations: 321.3 kB / 447.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.3216, allocations: 104 kB / 447.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02641/0.348, allocations: 8.857 MB / 456.8 MB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.348, allocations: 37.78 kB / 456.8 MB, free: 104.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.165e-06/0.348, allocations: 0 / 456.8 MB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.002004/0.35, allocations: 0.5433 MB / 457.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3501, allocations: 110.3 kB / 457.5 MB, free: 104.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3503, allocations: 281.2 kB / 457.8 MB, free: 104 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3503, allocations: 29.7 kB / 457.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3504, allocations: 220.3 kB / 458 MB, free: 103.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3504, allocations: 49.22 kB / 458.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.3505, allocations: 65.2 kB / 458.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.3506, allocations: 339.9 kB / 458.5 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.3508, allocations: 93.03 kB / 458.5 MB, free: 103.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.3512, allocations: 263.6 kB / 458.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.3517, allocations: 302.7 kB / 459.1 MB, free: 102.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3517, allocations: 3.438 kB / 459.1 MB, free: 102.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007149/0.3524, allocations: 347.9 kB / 459.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3524, allocations: 6.562 kB / 459.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3524, allocations: 3.375 kB / 459.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.3525, allocations: 6.406 kB / 459.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.3527, allocations: 69.39 kB / 459.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3527, allocations: 6.719 kB / 459.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.353, allocations: 38.33 kB / 459.6 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.353, allocations: 14.31 kB / 459.6 MB, free: 102.7 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.0001394/0.3531, allocations: 164.8 kB / 459.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.3532, allocations: 35.38 kB / 459.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3545, allocations: 1.167 MB / 460.9 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3545, allocations: 13.5 kB / 461 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3545, allocations: 0 / 461 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3545, allocations: 0 / 461 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.355, allocations: 0.5647 MB / 461.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.355, allocations: 0 / 461.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.3552, allocations: 47.12 kB / 461.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3552, allocations: 0 / 461.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3552, allocations: 4 kB / 461.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3552, allocations: 7.062 kB / 461.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3552, allocations: 0 / 461.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.3559, allocations: 0.6395 MB / 462.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.356, allocations: 57.38 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.356, allocations: 20.81 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3563, allocations: 21.53 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.3563, allocations: 23.34 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3564, allocations: 10.42 kB / 462.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.3566, allocations: 304.2 kB / 462.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3566, allocations: 0 / 462.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002311/0.3589, allocations: 0.863 MB / 463.5 MB, free: 100.9 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.003079/0.362, allocations: 1.115 MB / 464.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.3627, allocations: 352.3 kB / 465 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3627, allocations: 0 / 465 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.363, allocations: 211.3 kB / 465.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.3639, allocations: 173.5 kB / 465.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.3651, allocations: 1.03 MB / 466.4 MB, free: 99.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.3653, allocations: 282.2 kB / 466.7 MB, free: 99.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.3656, allocations: 179.9 kB / 466.8 MB, free: 99.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3657, allocations: 34.34 kB / 466.9 MB, free: 99.76 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3657, allocations: 0 / 466.9 MB, free: 99.76 MB / 410.7 MB Notification: Performance of Templates: time 0.04062/0.4063, allocations: 34.16 MB / 0.4893 GB, free: 78.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.664158754982054]