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.001654/0.001654, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.00194/0.00194, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2255/0.2255, allocations: 44.91 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] 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.002307/0.002307, allocations: 68.08 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3345, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03703/0.3715, allocations: 30.65 MB / 0.5882 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.3945, allocations: 17.78 MB / 0.6055 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.3949, allocations: 15.88 kB / 0.6056 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.3957, allocations: 226.5 kB / 0.6058 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.3963, allocations: 278.4 kB / 0.606 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.4129, allocations: 6.084 MB / 0.612 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.4142, allocations: 0.8459 MB / 0.6128 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.4146, allocations: 201 kB / 0.613 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.4261, allocations: 5.501 MB / 0.6184 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.4266, allocations: 251 kB / 0.6186 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.4267, allocations: 31.94 kB / 0.6186 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.4399, allocations: 6.349 MB / 0.6248 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.4401, allocations: 95.67 kB / 0.6249 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.4404, allocations: 195.1 kB / 0.6251 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009424/0.4499, allocations: 3.862 MB / 0.6289 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4499, allocations: 4 kB / 0.6289 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4499, allocations: 0 / 0.6289 GB, free: 15.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.4499, allocations: 0 / 0.6289 GB, free: 15.11 MB / 478.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.002748/0.4527, allocations: 1.005 MB / 0.6299 GB, free: 14.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4527, allocations: 12.03 kB / 0.6299 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.4544, allocations: 204.5 kB / 0.6301 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.4551, allocations: 288.8 kB / 0.6304 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.4551, allocations: 21.03 kB / 0.6304 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.4551, allocations: 28.38 kB / 0.6304 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4565, allocations: 492 kB / 0.6309 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4565, allocations: 0 / 0.6309 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.4565, allocations: 12 kB / 0.6309 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.4565, allocations: 8 kB / 0.6309 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4578, allocations: 413.2 kB / 0.6313 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.4612, allocations: 2.241 MB / 0.6335 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4623, allocations: 318.2 kB / 0.6338 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.4626, allocations: 104.8 kB / 0.6339 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0322/0.4948, allocations: 8.827 MB / 0.6425 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.4949, allocations: 34.56 kB / 0.6425 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.555e-06/0.4949, allocations: 0 / 0.6425 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002211/0.4971, allocations: 0.5347 MB / 0.6431 GB, free: 308 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.4972, allocations: 110.8 kB / 0.6432 GB, free: 172 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.4976, allocations: 328.4 kB / 0.6435 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.4977, allocations: 29.7 kB / 0.6435 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4979, allocations: 212.1 kB / 0.6437 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.4979, allocations: 47.59 kB / 0.6438 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.498, allocations: 69.64 kB / 0.6438 GB, free: 15.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4982, allocations: 342.8 kB / 0.6441 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.4985, allocations: 91.94 kB / 0.6442 GB, free: 15.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.4989, allocations: 207.4 kB / 0.6444 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.4995, allocations: 301.3 kB / 0.6447 GB, free: 14.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4995, allocations: 0 / 0.6447 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008359/0.5004, allocations: 333 kB / 0.645 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5004, allocations: 8.469 kB / 0.645 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5004, allocations: 4 kB / 0.6451 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5004, allocations: 11.94 kB / 0.6451 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.5007, allocations: 71.88 kB / 0.6451 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.5007, allocations: 11.94 kB / 0.6451 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.501, allocations: 43.77 kB / 0.6452 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.501, allocations: 16 kB / 0.6452 GB, free: 13.93 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.000198/0.5012, allocations: 157.7 kB / 0.6453 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.5013, allocations: 35.77 kB / 0.6454 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.503, allocations: 1.153 MB / 0.6465 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.503, allocations: 11.98 kB / 0.6465 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.503, allocations: 0 / 0.6465 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.503, allocations: 7.922 kB / 0.6465 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.5038, allocations: 0.6514 MB / 0.6472 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5038, allocations: 0 / 0.6472 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.504, allocations: 43.95 kB / 0.6472 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.504, allocations: 0 / 0.6472 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.5041, allocations: 15.81 kB / 0.6472 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5041, allocations: 8 kB / 0.6472 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5041, allocations: 0 / 0.6472 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/0.5051, allocations: 0.6352 MB / 0.6478 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5052, allocations: 63.47 kB / 0.6479 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.5052, allocations: 27.78 kB / 0.6479 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5055, allocations: 19.98 kB / 0.648 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.5055, allocations: 19.97 kB / 0.648 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5055, allocations: 7.984 kB / 0.648 GB, free: 11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004153/0.506, allocations: 338.9 kB / 0.6483 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.506, allocations: 0 / 0.6483 GB, free: 10.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002564/0.5085, allocations: 0.8655 MB / 0.6491 GB, free: 9.805 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.004355/0.5129, allocations: 1.004 MB / 0.6501 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.5137, allocations: 348.2 kB / 0.6505 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5137, allocations: 0 / 0.6505 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.5141, allocations: 209.4 kB / 0.6507 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5152, allocations: 193.4 kB / 0.6508 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.5169, allocations: 1.089 MB / 0.6519 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.5174, allocations: 0.872 MB / 0.6528 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.5175, allocations: 35.44 kB / 0.6528 GB, free: 6.008 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5175, allocations: 4 kB / 0.6528 GB, free: 6.004 MB / 494.1 MB Notification: Performance of Templates: time 0.0373/0.5548, allocations: 20.6 MB / 0.6729 GB, free: 1.422 MB / 0.4981 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/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: 10.54385396791622]