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.001953/0.001953, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002172/0.002172, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.532/1.532, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2499/0.2499, allocations: 46.97 MB / 361.6 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 179] 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.002149/0.002149, allocations: 71.83 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03766/0.3978, allocations: 27.72 MB / 0.5889 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.4205, allocations: 15.67 MB / 0.6042 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.421, allocations: 11.88 kB / 0.6042 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.4218, allocations: 202.7 kB / 0.6044 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008049/0.4226, allocations: 282.3 kB / 0.6047 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.4403, allocations: 5.999 MB / 0.6105 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4417, allocations: 0.8498 MB / 0.6113 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.4421, allocations: 193 kB / 0.6115 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.4539, allocations: 5.485 MB / 0.6169 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.4545, allocations: 246.9 kB / 0.6171 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.4546, allocations: 28 kB / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.4673, allocations: 6.06 MB / 0.6231 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.4675, allocations: 95.66 kB / 0.6232 GB, free: 5.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.4678, allocations: 163.3 kB / 0.6233 GB, free: 4.961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4778, allocations: 3.847 MB / 0.6271 GB, free: 1.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4779, allocations: 7.984 kB / 0.6271 GB, free: 1.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4779, allocations: 0 / 0.6271 GB, free: 1.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.4779, allocations: 0 / 0.6271 GB, free: 1.098 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.002732/0.4806, allocations: 1.001 MB / 0.6281 GB, free: 64 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4807, allocations: 8.031 kB / 0.6281 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4824, allocations: 208.5 kB / 0.6283 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.483, allocations: 280.9 kB / 0.6285 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.4831, allocations: 25.03 kB / 0.6286 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.4831, allocations: 28.38 kB / 0.6286 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.4845, allocations: 0.6311 MB / 0.6292 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4845, allocations: 7.938 kB / 0.6292 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.4846, allocations: 12 kB / 0.6292 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4846, allocations: 4 kB / 0.6292 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.4858, allocations: 413.2 kB / 0.6296 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.4891, allocations: 1.774 MB / 0.6313 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.4903, allocations: 310.3 kB / 0.6316 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.4907, allocations: 104.8 kB / 0.6317 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03255/0.5232, allocations: 8.862 MB / 0.6404 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.5233, allocations: 38.55 kB / 0.6404 GB, free: 3.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.5233, allocations: 0 / 0.6404 GB, free: 3.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002164/0.5254, allocations: 0.5275 MB / 0.641 GB, free: 2.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5255, allocations: 110.8 kB / 0.6411 GB, free: 2.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.5259, allocations: 276.1 kB / 0.6413 GB, free: 2.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.5259, allocations: 25.7 kB / 0.6413 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.5261, allocations: 219.9 kB / 0.6416 GB, free: 1.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.5262, allocations: 51.59 kB / 0.6416 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.5263, allocations: 65.69 kB / 0.6417 GB, free: 1.867 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5265, allocations: 330.8 kB / 0.642 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.5267, allocations: 91.94 kB / 0.6421 GB, free: 1.445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.5272, allocations: 266.7 kB / 0.6423 GB, free: 1.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.5278, allocations: 297.4 kB / 0.6426 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5278, allocations: 0 / 0.6426 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007932/0.5286, allocations: 337.1 kB / 0.6429 GB, free: 452 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5287, allocations: 8 kB / 0.6429 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5287, allocations: 7.938 kB / 0.6429 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5287, allocations: 4 kB / 0.6429 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.529, allocations: 75.83 kB / 0.643 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.529, allocations: 7.938 kB / 0.643 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5292, allocations: 44.14 kB / 0.6431 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5293, allocations: 19.98 kB / 0.6431 GB, free: 284 kB / 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.0002078/0.5295, allocations: 153.7 kB / 0.6432 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.5295, allocations: 23.86 kB / 0.6433 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.5312, allocations: 1.167 MB / 0.6444 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5312, allocations: 15.92 kB / 0.6444 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5313, allocations: 4 kB / 0.6444 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5313, allocations: 3.984 kB / 0.6444 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.532, allocations: 0.5467 MB / 0.645 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.532, allocations: 0 / 0.645 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.5322, allocations: 51.95 kB / 0.645 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5322, allocations: 0 / 0.645 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.5322, allocations: 4 kB / 0.645 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5322, allocations: 3.984 kB / 0.645 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5322, allocations: 3.938 kB / 0.645 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.5332, allocations: 0.6313 MB / 0.6456 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5333, allocations: 55.53 kB / 0.6457 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.5334, allocations: 31.72 kB / 0.6457 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5336, allocations: 15.98 kB / 0.6457 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.5337, allocations: 23.89 kB / 0.6458 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5337, allocations: 12 kB / 0.6458 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5341, allocations: 299.1 kB / 0.646 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5341, allocations: 0 / 0.646 GB, free: 13.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002549/0.5366, allocations: 0.8655 MB / 0.6469 GB, free: 12.31 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.00375/0.5404, allocations: 1.009 MB / 0.6479 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.5413, allocations: 348.5 kB / 0.6482 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5413, allocations: 0 / 0.6482 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.5417, allocations: 212.5 kB / 0.6484 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.5426, allocations: 150 kB / 0.6486 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.5443, allocations: 1.077 MB / 0.6496 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5446, allocations: 280.2 kB / 0.6499 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.5447, allocations: 35.38 kB / 0.6499 GB, free: 9.156 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5447, allocations: 0 / 0.6499 GB, free: 9.156 MB / 494.1 MB Notification: Performance of Templates: time 0.03522/0.5799, allocations: 20.31 MB / 0.6697 GB, free: 4.855 MB / 0.4981 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/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: 10.772251499351114]