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.001577/0.001577, allocations: 74.19 kB / 21.24 MB, free: 0.5547 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: 158.3 kB / 24.5 MB, free: 3.715 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.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 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.2079/0.2079, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 65.43 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02329/0.3925, allocations: 27.72 MB / 0.5212 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.4099, allocations: 15.67 MB / 0.5365 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.4102, allocations: 18.44 kB / 0.5365 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.4109, allocations: 203.7 kB / 0.5367 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006189/0.4115, allocations: 279.9 kB / 0.537 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0178/0.4293, allocations: 6.005 MB / 0.5429 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.4308, allocations: 0.8494 MB / 0.5437 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.4312, allocations: 197.4 kB / 0.5439 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/0.4445, allocations: 5.499 MB / 0.5492 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.445, allocations: 243.3 kB / 0.5495 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.4451, allocations: 29.59 kB / 0.5495 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.4594, allocations: 6.054 MB / 0.5554 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.4596, allocations: 100.5 kB / 0.5555 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.4601, allocations: 162 kB / 0.5557 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.4728, allocations: 3.854 MB / 0.5594 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4728, allocations: 0 / 0.5594 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4728, allocations: 0 / 0.5594 GB, free: 5.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4728, allocations: 0 / 0.5594 GB, free: 5.977 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.003203/0.476, allocations: 1.001 MB / 0.5604 GB, free: 4.941 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.476, allocations: 8.031 kB / 0.5604 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.4777, allocations: 212.5 kB / 0.5606 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.4783, allocations: 281.3 kB / 0.5609 GB, free: 4.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.4784, allocations: 28.97 kB / 0.5609 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4784, allocations: 24.38 kB / 0.5609 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.4798, allocations: 0.6312 MB / 0.5616 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4798, allocations: 4 kB / 0.5616 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.4798, allocations: 12 kB / 0.5616 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4798, allocations: 8 kB / 0.5616 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.4811, allocations: 409.4 kB / 0.562 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.4841, allocations: 1.77 MB / 0.5637 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4853, allocations: 318.2 kB / 0.564 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.4856, allocations: 108.4 kB / 0.5641 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03316/0.5188, allocations: 8.87 MB / 0.5728 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.5188, allocations: 38.55 kB / 0.5728 GB, free: 8.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.5188, allocations: 0 / 0.5728 GB, free: 8.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002184/0.521, allocations: 0.5205 MB / 0.5733 GB, free: 7.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.5211, allocations: 110.8 kB / 0.5734 GB, free: 7.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5214, allocations: 276.1 kB / 0.5737 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.5214, allocations: 29.7 kB / 0.5737 GB, free: 7.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5216, allocations: 219.9 kB / 0.5739 GB, free: 6.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.5217, allocations: 51.59 kB / 0.574 GB, free: 6.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5218, allocations: 65.69 kB / 0.574 GB, free: 6.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5219, allocations: 330.8 kB / 0.5743 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.5222, allocations: 95.88 kB / 0.5744 GB, free: 6.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.5226, allocations: 262.8 kB / 0.5747 GB, free: 5.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.5233, allocations: 301.3 kB / 0.575 GB, free: 5.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5233, allocations: 0 / 0.575 GB, free: 5.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007905/0.5241, allocations: 329 kB / 0.5753 GB, free: 5.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5241, allocations: 11.98 kB / 0.5753 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5241, allocations: 4 kB / 0.5753 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5242, allocations: 4 kB / 0.5753 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.5244, allocations: 76.3 kB / 0.5754 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5245, allocations: 11.94 kB / 0.5754 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.5247, allocations: 39.77 kB / 0.5754 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.5247, allocations: 16 kB / 0.5754 GB, free: 5.148 MB / 478.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.0001797/0.5249, allocations: 157.7 kB / 0.5756 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.525, allocations: 23.86 kB / 0.5756 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.5266, allocations: 1.172 MB / 0.5768 GB, free: 3.785 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.5266, allocations: 15.92 kB / 0.5768 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5266, allocations: 4 kB / 0.5768 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5266, allocations: 3.984 kB / 0.5768 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.5273, allocations: 0.551 MB / 0.5773 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5273, allocations: 0 / 0.5773 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.5276, allocations: 55.89 kB / 0.5774 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5276, allocations: 3.938 kB / 0.5774 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5276, allocations: 4 kB / 0.5774 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5276, allocations: 0 / 0.5774 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5276, allocations: 7.922 kB / 0.5774 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.5286, allocations: 0.629 MB / 0.578 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.5287, allocations: 55.52 kB / 0.5781 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.5287, allocations: 27.73 kB / 0.5781 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5289, allocations: 15.98 kB / 0.5781 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.529, allocations: 27.89 kB / 0.5781 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.529, allocations: 8 kB / 0.5781 GB, free: 2.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.5294, allocations: 303.1 kB / 0.5784 GB, free: 2.031 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5294, allocations: 3.938 kB / 0.5784 GB, free: 2.027 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003246/0.5327, allocations: 0.8655 MB / 0.5793 GB, free: 1.16 MB / 478.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.003912/0.5366, allocations: 0.9942 MB / 0.5802 GB, free: 160 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.5375, allocations: 348.3 kB / 0.5806 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5375, allocations: 0 / 0.5806 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.5379, allocations: 221.4 kB / 0.5808 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.5387, allocations: 160.5 kB / 0.5809 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5405, allocations: 1.036 MB / 0.582 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5408, allocations: 280.2 kB / 0.5822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.5412, allocations: 183.8 kB / 0.5824 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.5413, allocations: 36.5 kB / 0.5824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5413, allocations: 0 / 0.5824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Templates: time 0.05289/0.5942, allocations: 33.85 MB / 0.6155 GB, free: 12.12 MB / 0.5137 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/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.5321557079441845]