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.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001454/0.001454, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.2783/0.2783, allocations: 44.93 MB / 358.8 MB, free: 6.156 MB / 286.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.002168/0.002168, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 65.48 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03493/0.3589, allocations: 27.71 MB / 0.5845 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.3808, allocations: 15.66 MB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.3812, allocations: 19.81 kB / 0.5998 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.382, allocations: 198.7 kB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007649/0.3828, allocations: 290.4 kB / 0.6003 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02226/0.405, allocations: 5.991 MB / 0.6062 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.4069, allocations: 0.8576 MB / 0.607 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.4076, allocations: 201 kB / 0.6072 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0187/0.4263, allocations: 5.478 MB / 0.6125 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.427, allocations: 250.9 kB / 0.6128 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.4271, allocations: 32 kB / 0.6128 GB, free: 14.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.4456, allocations: 6.049 MB / 0.6187 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.4459, allocations: 95.66 kB / 0.6188 GB, free: 8.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.4463, allocations: 163.3 kB / 0.619 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4587, allocations: 3.866 MB / 0.6227 GB, free: 4.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4587, allocations: 0 / 0.6227 GB, free: 4.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4587, allocations: 0 / 0.6227 GB, free: 4.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.4587, allocations: 4 kB / 0.6227 GB, free: 4.371 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.003992/0.4627, allocations: 0.9935 MB / 0.6237 GB, free: 3.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4627, allocations: 8.031 kB / 0.6237 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.4646, allocations: 208.5 kB / 0.6239 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.4655, allocations: 284.9 kB / 0.6242 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.4655, allocations: 24.97 kB / 0.6242 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.4655, allocations: 32.12 kB / 0.6242 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.467, allocations: 0.6273 MB / 0.6248 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4671, allocations: 0 / 0.6248 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.4671, allocations: 16 kB / 0.6249 GB, free: 2.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4671, allocations: 8 kB / 0.6249 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.4684, allocations: 409.2 kB / 0.6253 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.4717, allocations: 1.762 MB / 0.627 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.4729, allocations: 318.3 kB / 0.6273 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.4732, allocations: 108.7 kB / 0.6274 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03264/0.5059, allocations: 8.862 MB / 0.636 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.5059, allocations: 34.56 kB / 0.6361 GB, free: 6.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.5059, allocations: 0 / 0.6361 GB, free: 6.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002061/0.508, allocations: 0.5271 MB / 0.6366 GB, free: 5.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.5081, allocations: 102.8 kB / 0.6367 GB, free: 5.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.5084, allocations: 280.1 kB / 0.637 GB, free: 5.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5084, allocations: 29.7 kB / 0.637 GB, free: 5.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.5086, allocations: 219.9 kB / 0.6372 GB, free: 5.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.5087, allocations: 51.59 kB / 0.6372 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5088, allocations: 65.62 kB / 0.6373 GB, free: 5.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.509, allocations: 338.8 kB / 0.6376 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.5092, allocations: 95.86 kB / 0.6377 GB, free: 4.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.5097, allocations: 258.8 kB / 0.638 GB, free: 4.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.5103, allocations: 301.4 kB / 0.6383 GB, free: 4.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5103, allocations: 0 / 0.6383 GB, free: 4.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007864/0.5111, allocations: 337.4 kB / 0.6386 GB, free: 3.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5111, allocations: 8 kB / 0.6386 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5111, allocations: 4 kB / 0.6386 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5112, allocations: 11.94 kB / 0.6386 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.5114, allocations: 67.89 kB / 0.6387 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.5115, allocations: 11.94 kB / 0.6387 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5117, allocations: 39.77 kB / 0.6387 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5117, allocations: 16.11 kB / 0.6387 GB, free: 3.562 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.0001736/0.5119, allocations: 153.7 kB / 0.6389 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.512, allocations: 27.84 kB / 0.6389 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.5136, allocations: 1.155 MB / 0.64 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5136, allocations: 19.91 kB / 0.64 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5136, allocations: 4 kB / 0.6401 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5136, allocations: 0 / 0.6401 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.5143, allocations: 0.5545 MB / 0.6406 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5143, allocations: 0 / 0.6406 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.5145, allocations: 55.81 kB / 0.6406 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5145, allocations: 0 / 0.6406 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5145, allocations: 8 kB / 0.6407 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5145, allocations: 4 kB / 0.6407 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5145, allocations: 3.938 kB / 0.6407 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.5155, allocations: 0.6275 MB / 0.6413 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.5156, allocations: 47.53 kB / 0.6413 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.5156, allocations: 27.73 kB / 0.6413 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.5159, allocations: 23.92 kB / 0.6414 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.5159, allocations: 27.89 kB / 0.6414 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5159, allocations: 4 kB / 0.6414 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.5163, allocations: 307.1 kB / 0.6417 GB, free: 468 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5163, allocations: 3.938 kB / 0.6417 GB, free: 464 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002265/0.5186, allocations: 0.8577 MB / 0.6425 GB, free: 15.59 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.003405/0.522, allocations: 1.004 MB / 0.6435 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.5228, allocations: 353.2 kB / 0.6439 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5228, allocations: 0 / 0.6439 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5232, allocations: 208.4 kB / 0.6441 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.5241, allocations: 146.1 kB / 0.6442 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5257, allocations: 1.06 MB / 0.6452 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.526, allocations: 276.2 kB / 0.6455 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.5264, allocations: 172.6 kB / 0.6457 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.5264, allocations: 35.38 kB / 0.6457 GB, free: 12.31 MB / 494.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5264, allocations: 0 / 0.6457 GB, free: 12.31 MB / 494.1 MB Notification: Performance of Templates: time 0.05085/0.5773, allocations: 34.54 MB / 0.6794 GB, free: 9.879 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 -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.822558503597975]