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.001444/0.001444, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001616/0.001616, allocations: 207.5 kB / 24.48 MB, free: 3.695 MB / 14.72 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.668/1.668, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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.2347/0.2347, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 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 0.002165/0.002165, allocations: 67.88 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3776, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03368/0.4113, allocations: 27.71 MB / 0.5889 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02166/0.4329, allocations: 15.66 MB / 0.6042 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.4334, allocations: 19.75 kB / 0.6042 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.4341, allocations: 202.7 kB / 0.6044 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006762/0.4348, allocations: 286.4 kB / 0.6047 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01734/0.4522, allocations: 6.003 MB / 0.6105 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.4536, allocations: 0.8537 MB / 0.6114 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.454, allocations: 199.5 kB / 0.6115 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01373/0.4678, allocations: 5.478 MB / 0.6169 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.4684, allocations: 262.9 kB / 0.6171 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.4684, allocations: 32 kB / 0.6172 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.4813, allocations: 6.295 MB / 0.6233 GB, free: 4.934 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.4815, allocations: 87.69 kB / 0.6234 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.4818, allocations: 167.3 kB / 0.6236 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009794/0.4916, allocations: 3.854 MB / 0.6273 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4916, allocations: 3.938 kB / 0.6273 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4916, allocations: 4 kB / 0.6273 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.4916, allocations: 0 / 0.6273 GB, free: 0.8125 MB / 462.1 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.002907/0.4945, allocations: 1.001 MB / 0.6283 GB, free: 15.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4945, allocations: 8.031 kB / 0.6283 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.4962, allocations: 208.5 kB / 0.6285 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/0.4969, allocations: 280.9 kB / 0.6288 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.4969, allocations: 25.03 kB / 0.6288 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.4969, allocations: 24.38 kB / 0.6288 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.4983, allocations: 0.635 MB / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4984, allocations: 0 / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.4984, allocations: 12 kB / 0.6295 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4984, allocations: 8 kB / 0.6295 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.4998, allocations: 417.2 kB / 0.6299 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.5028, allocations: 1.766 MB / 0.6316 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.504, allocations: 318.3 kB / 0.6319 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.5043, allocations: 108.7 kB / 0.632 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03075/0.5351, allocations: 8.862 MB / 0.6407 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5351, allocations: 30.56 kB / 0.6407 GB, free: 2.902 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.5351, allocations: 0 / 0.6407 GB, free: 2.902 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002084/0.5372, allocations: 0.5166 MB / 0.6412 GB, free: 2.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.5373, allocations: 114.8 kB / 0.6413 GB, free: 2.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5376, allocations: 276.1 kB / 0.6416 GB, free: 1.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.5376, allocations: 29.7 kB / 0.6416 GB, free: 1.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.5378, allocations: 215.9 kB / 0.6418 GB, free: 1.711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.5379, allocations: 55.58 kB / 0.6419 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.538, allocations: 69.62 kB / 0.6419 GB, free: 1.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5381, allocations: 334.8 kB / 0.6422 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.5384, allocations: 91.92 kB / 0.6423 GB, free: 1.156 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.5388, allocations: 262.8 kB / 0.6426 GB, free: 0.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.5395, allocations: 296.2 kB / 0.6429 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5395, allocations: 4 kB / 0.6429 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007816/0.5402, allocations: 333.2 kB / 0.6432 GB, free: 164 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5403, allocations: 8 kB / 0.6432 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5403, allocations: 4 kB / 0.6432 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.5403, allocations: 4 kB / 0.6432 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.5406, allocations: 75.83 kB / 0.6433 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5406, allocations: 7.938 kB / 0.6433 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.5408, allocations: 44.05 kB / 0.6433 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.5409, allocations: 23.97 kB / 0.6433 GB, free: 15.99 MB / 494.1 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.0001876/0.5411, allocations: 157.7 kB / 0.6435 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.5412, allocations: 27.8 kB / 0.6435 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5427, allocations: 1.136 MB / 0.6446 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.5427, allocations: 19.91 kB / 0.6446 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5427, allocations: 0 / 0.6446 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5427, allocations: 0 / 0.6446 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.5434, allocations: 0.5506 MB / 0.6452 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5434, allocations: 0 / 0.6452 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.5437, allocations: 55.88 kB / 0.6452 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5437, allocations: 8 kB / 0.6452 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5437, allocations: 4 kB / 0.6452 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5437, allocations: 0 / 0.6452 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5437, allocations: 3.938 kB / 0.6453 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.5446, allocations: 0.6314 MB / 0.6459 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.5447, allocations: 51.53 kB / 0.6459 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.5447, allocations: 27.77 kB / 0.6459 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.545, allocations: 19.98 kB / 0.646 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.545, allocations: 27.89 kB / 0.646 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.545, allocations: 4 kB / 0.646 GB, free: 13.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003547/0.5454, allocations: 311.1 kB / 0.6463 GB, free: 12.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5454, allocations: 0 / 0.6463 GB, free: 12.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002692/0.5481, allocations: 0.8616 MB / 0.6471 GB, free: 12.04 MB / 494.1 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.003421/0.5515, allocations: 0.9931 MB / 0.6481 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.5524, allocations: 348.8 kB / 0.6484 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5524, allocations: 0 / 0.6484 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.5527, allocations: 208.5 kB / 0.6486 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.5536, allocations: 157.3 kB / 0.6488 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.5553, allocations: 1.085 MB / 0.6498 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5555, allocations: 276.2 kB / 0.6501 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.5556, allocations: 39.42 kB / 0.6501 GB, free: 8.895 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5556, allocations: 0 / 0.6501 GB, free: 8.895 MB / 494.1 MB Notification: Performance of Templates: time 0.03365/0.5893, allocations: 20.32 MB / 0.67 GB, free: 4.59 MB / 0.4981 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/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: 10.532973516994389]