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.001517/0.001517, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001481/0.001481, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.59/1.59, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2357/0.2357, allocations: 46.91 MB / 357.1 MB, free: 10.33 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.002054/0.002054, allocations: 75.88 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1529, allocations: 65.99 MB / 0.5558 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03672/0.1896, allocations: 30.39 MB / 0.5855 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3315/0.5211, allocations: 17.69 MB / 0.6028 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.5217, allocations: 15.31 kB / 0.6028 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5227, allocations: 218 kB / 0.603 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008772/0.5236, allocations: 283.7 kB / 0.6033 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02158/0.5451, allocations: 6.071 MB / 0.6092 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.5469, allocations: 0.8395 MB / 0.61 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.5473, allocations: 214.4 kB / 0.6102 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.5602, allocations: 5.485 MB / 0.6156 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.5609, allocations: 245.9 kB / 0.6158 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.561, allocations: 32.97 kB / 0.6159 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.5769, allocations: 6.345 MB / 0.6221 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.5772, allocations: 89.47 kB / 0.6221 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.5776, allocations: 196.4 kB / 0.6223 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.5907, allocations: 3.869 MB / 0.6261 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.5907, allocations: 4 kB / 0.6261 GB, free: 14.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5908, allocations: 0 / 0.6261 GB, free: 14.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.5908, allocations: 0 / 0.6261 GB, free: 14.69 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.004102/0.5949, allocations: 1.065 MB / 0.6272 GB, free: 13.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5949, allocations: 10.12 kB / 0.6272 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.5967, allocations: 209 kB / 0.6274 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.5973, allocations: 363.4 kB / 0.6277 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.5973, allocations: 21.31 kB / 0.6277 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.5974, allocations: 25.06 kB / 0.6278 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5988, allocations: 490 kB / 0.6282 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5988, allocations: 1.094 kB / 0.6282 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.5988, allocations: 15.31 kB / 0.6282 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.5988, allocations: 7.625 kB / 0.6282 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.6001, allocations: 412.1 kB / 0.6286 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.6038, allocations: 2.413 MB / 0.631 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.605, allocations: 324.5 kB / 0.6313 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.6053, allocations: 99.72 kB / 0.6314 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03822/0.6435, allocations: 18.38 MB / 0.6493 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/0.6436, allocations: 38.55 kB / 0.6494 GB, free: 9.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.6436, allocations: 0 / 0.6494 GB, free: 9.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002377/0.646, allocations: 0.5223 MB / 0.6499 GB, free: 8.816 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.6461, allocations: 106.8 kB / 0.65 GB, free: 8.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.6465, allocations: 328.4 kB / 0.6503 GB, free: 8.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.6465, allocations: 33.64 kB / 0.6503 GB, free: 8.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6467, allocations: 223.9 kB / 0.6506 GB, free: 8.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.6468, allocations: 47 kB / 0.6506 GB, free: 8.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.6469, allocations: 65.66 kB / 0.6507 GB, free: 7.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6471, allocations: 342.8 kB / 0.651 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.6474, allocations: 91.92 kB / 0.6511 GB, free: 7.555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.6478, allocations: 219.2 kB / 0.6513 GB, free: 7.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.6486, allocations: 301.4 kB / 0.6516 GB, free: 6.941 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6486, allocations: 0 / 0.6516 GB, free: 6.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009131/0.6495, allocations: 339.7 kB / 0.6519 GB, free: 6.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6496, allocations: 8 kB / 0.6519 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6496, allocations: 4.469 kB / 0.6519 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.6496, allocations: 11.94 kB / 0.6519 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.6499, allocations: 67.89 kB / 0.652 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.6499, allocations: 11.94 kB / 0.652 GB, free: 6.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.6502, allocations: 47.66 kB / 0.652 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.6502, allocations: 15.98 kB / 0.6521 GB, free: 6.441 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.0001841/0.6504, allocations: 152 kB / 0.6522 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.6505, allocations: 37.64 kB / 0.6522 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.6523, allocations: 1.094 MB / 0.6533 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.6523, allocations: 19.91 kB / 0.6533 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6523, allocations: 4 kB / 0.6533 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6523, allocations: 0 / 0.6533 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.6531, allocations: 0.673 MB / 0.654 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6531, allocations: 4 kB / 0.654 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.6534, allocations: 47.89 kB / 0.654 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6534, allocations: 0 / 0.654 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6534, allocations: 7.938 kB / 0.654 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6534, allocations: 7.938 kB / 0.6541 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6534, allocations: 7.984 kB / 0.6541 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6545, allocations: 0.6201 MB / 0.6547 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6546, allocations: 132.6 kB / 0.6548 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.6547, allocations: 27.78 kB / 0.6548 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.6549, allocations: 19.92 kB / 0.6548 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.655, allocations: 27.91 kB / 0.6549 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.655, allocations: 9.25 kB / 0.6549 GB, free: 3.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.6554, allocations: 342.8 kB / 0.6552 GB, free: 3.137 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6554, allocations: 0 / 0.6552 GB, free: 3.137 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003622/0.6591, allocations: 0.8539 MB / 0.656 GB, free: 2.281 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.004672/0.6637, allocations: 1 MB / 0.657 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.6647, allocations: 348.4 kB / 0.6573 GB, free: 1.016 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6647, allocations: 0 / 0.6573 GB, free: 1.016 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.6651, allocations: 204.5 kB / 0.6575 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6662, allocations: 184.3 kB / 0.6577 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.668, allocations: 1.036 MB / 0.6587 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.6686, allocations: 0.8835 MB / 0.6596 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.669, allocations: 185.1 kB / 0.6598 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.669, allocations: 39.42 kB / 0.6598 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.669, allocations: 4 kB / 0.6598 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Templates: time 0.05733/0.7264, allocations: 34.71 MB / 0.6937 GB, free: 11.82 MB / 0.5137 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/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: 8.240022029727697]