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.001603/0.001603, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001523/0.001523, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.45/1.45, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.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.2079/0.2079, allocations: 34.25 MB / 295.5 MB, free: 14.61 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.002327/0.002327, allocations: 71.88 kB / 443.1 MB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.316, allocations: 66 MB / 0.4972 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02488/0.3409, allocations: 27.72 MB / 0.5243 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.3583, allocations: 15.67 MB / 0.5396 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.3587, allocations: 14.59 kB / 0.5396 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.3594, allocations: 200.1 kB / 0.5398 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.36, allocations: 291.4 kB / 0.5401 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01741/0.3774, allocations: 5.997 MB / 0.5459 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3788, allocations: 0.8478 MB / 0.5468 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.3792, allocations: 196.1 kB / 0.5469 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/0.3927, allocations: 5.493 MB / 0.5523 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.3932, allocations: 247.5 kB / 0.5525 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.3933, allocations: 29.44 kB / 0.5526 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/0.4075, allocations: 6.061 MB / 0.5585 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.4077, allocations: 92.64 kB / 0.5586 GB, free: 6.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.4081, allocations: 155 kB / 0.5587 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.4182, allocations: 3.865 MB / 0.5625 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4183, allocations: 0 / 0.5625 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.4183, allocations: 3.984 kB / 0.5625 GB, free: 2.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4183, allocations: 0 / 0.5625 GB, free: 2.742 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.002238/0.4205, allocations: 0.9973 MB / 0.5635 GB, free: 1.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4205, allocations: 8.031 kB / 0.5635 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.4222, allocations: 208.5 kB / 0.5637 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.4228, allocations: 285.3 kB / 0.564 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.4228, allocations: 21.03 kB / 0.564 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.4229, allocations: 28.38 kB / 0.564 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.4243, allocations: 0.6351 MB / 0.5646 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4243, allocations: 7.938 kB / 0.5646 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.4243, allocations: 12 kB / 0.5646 GB, free: 428 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4243, allocations: 4 kB / 0.5647 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.4256, allocations: 405.5 kB / 0.565 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.4286, allocations: 1.778 MB / 0.5668 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4298, allocations: 318.2 kB / 0.5671 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.4301, allocations: 104.8 kB / 0.5672 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03382/0.4639, allocations: 8.859 MB / 0.5758 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.464, allocations: 42.55 kB / 0.5759 GB, free: 4.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.464, allocations: 0 / 0.5759 GB, free: 4.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002141/0.4661, allocations: 0.5243 MB / 0.5764 GB, free: 4.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.4662, allocations: 106.8 kB / 0.5765 GB, free: 4.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.4665, allocations: 276.1 kB / 0.5767 GB, free: 3.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.4665, allocations: 29.7 kB / 0.5768 GB, free: 3.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4667, allocations: 215.9 kB / 0.577 GB, free: 3.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.4668, allocations: 55.58 kB / 0.577 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.4669, allocations: 65.69 kB / 0.5771 GB, free: 3.512 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.467, allocations: 334.8 kB / 0.5774 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4673, allocations: 91.94 kB / 0.5775 GB, free: 3.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.4677, allocations: 262.7 kB / 0.5778 GB, free: 2.762 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.4684, allocations: 304.9 kB / 0.578 GB, free: 2.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4684, allocations: 0 / 0.578 GB, free: 2.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008122/0.4692, allocations: 329.1 kB / 0.5784 GB, free: 2.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4692, allocations: 11.98 kB / 0.5784 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4692, allocations: 4 kB / 0.5784 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4693, allocations: 4 kB / 0.5784 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.4696, allocations: 79.77 kB / 0.5785 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4696, allocations: 4 kB / 0.5785 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.4698, allocations: 44.17 kB / 0.5785 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.4698, allocations: 12 kB / 0.5785 GB, free: 1.934 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.0001777/0.47, allocations: 158.4 kB / 0.5787 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.4701, allocations: 27.86 kB / 0.5787 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4717, allocations: 1.179 MB / 0.5798 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.4717, allocations: 19.91 kB / 0.5799 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4717, allocations: 0 / 0.5799 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4718, allocations: 3.984 kB / 0.5799 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.4724, allocations: 0.551 MB / 0.5804 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4724, allocations: 0 / 0.5804 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.4726, allocations: 47.95 kB / 0.5804 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4726, allocations: 0 / 0.5804 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4727, allocations: 8 kB / 0.5805 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4727, allocations: 3.984 kB / 0.5805 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4727, allocations: 3.938 kB / 0.5805 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009869/0.4737, allocations: 0.6289 MB / 0.5811 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.4737, allocations: 55.52 kB / 0.5811 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.4738, allocations: 31.73 kB / 0.5812 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.474, allocations: 11.98 kB / 0.5812 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.4741, allocations: 27.89 kB / 0.5812 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4741, allocations: 12 kB / 0.5812 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.4744, allocations: 303.1 kB / 0.5815 GB, free: 14.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4744, allocations: 0 / 0.5815 GB, free: 14.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002337/0.4768, allocations: 0.8616 MB / 0.5823 GB, free: 13.95 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.003354/0.4801, allocations: 1.001 MB / 0.5833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.481, allocations: 348.5 kB / 0.5836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.481, allocations: 3.984 kB / 0.5837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.4814, allocations: 208.5 kB / 0.5839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.4823, allocations: 152.8 kB / 0.584 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4839, allocations: 1.044 MB / 0.585 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4842, allocations: 280.2 kB / 0.5853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.4845, allocations: 178.5 kB / 0.5855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.4846, allocations: 36.5 kB / 0.5855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of SimCode: time 5.1e-07/0.4846, allocations: 0 / 0.5855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of Templates: time 0.05128/0.5359, allocations: 33.87 MB / 0.6186 GB, free: 8.902 MB / 0.5138 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 -s ida -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: 7.2050116210011765]