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.001627/0.001627, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001761/0.001761, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2214/0.2214, allocations: 46.97 MB / 361.6 MB, free: 4.105 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.002072/0.002072, allocations: 67.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2957, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03493/0.3306, allocations: 27.71 MB / 0.5889 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.3516, allocations: 15.68 MB / 0.6042 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.3519, allocations: 15.88 kB / 0.6042 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006647/0.3526, allocations: 198.7 kB / 0.6044 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.3533, allocations: 294.3 kB / 0.6047 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01568/0.369, allocations: 5.998 MB / 0.6105 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.3702, allocations: 0.8537 MB / 0.6114 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.3705, allocations: 201 kB / 0.6116 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.3816, allocations: 5.481 MB / 0.6169 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.382, allocations: 251 kB / 0.6171 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.3821, allocations: 35.94 kB / 0.6172 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.3935, allocations: 6.298 MB / 0.6233 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3937, allocations: 87.73 kB / 0.6234 GB, free: 4.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.3939, allocations: 163.3 kB / 0.6236 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.4013, allocations: 3.854 MB / 0.6273 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4013, allocations: 4 kB / 0.6273 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4013, allocations: 0 / 0.6273 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4013, allocations: 0 / 0.6273 GB, free: 0.7969 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.002323/0.4037, allocations: 1.001 MB / 0.6283 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4037, allocations: 12.03 kB / 0.6283 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.4055, allocations: 196.5 kB / 0.6285 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.4061, allocations: 288.9 kB / 0.6288 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.4061, allocations: 25.03 kB / 0.6288 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.4062, allocations: 32.3 kB / 0.6288 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.4076, allocations: 0.635 MB / 0.6295 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4076, allocations: 3.938 kB / 0.6295 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.4077, allocations: 12 kB / 0.6295 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4077, allocations: 8 kB / 0.6295 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.409, allocations: 409.2 kB / 0.6299 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.412, allocations: 1.758 MB / 0.6316 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.4133, allocations: 326.2 kB / 0.6319 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4136, allocations: 100.8 kB / 0.632 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0325/0.4461, allocations: 8.866 MB / 0.6407 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.4461, allocations: 34.56 kB / 0.6407 GB, free: 2.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.4461, allocations: 0 / 0.6407 GB, free: 2.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00219/0.4483, allocations: 0.5204 MB / 0.6412 GB, free: 2.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.4484, allocations: 110.8 kB / 0.6413 GB, free: 2.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.4487, allocations: 276.1 kB / 0.6416 GB, free: 1.941 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4488, allocations: 37.7 kB / 0.6416 GB, free: 1.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4489, allocations: 215.9 kB / 0.6418 GB, free: 1.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.449, allocations: 55.52 kB / 0.6419 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4491, allocations: 65.69 kB / 0.6419 GB, free: 1.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4493, allocations: 334.8 kB / 0.6422 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.4496, allocations: 95.92 kB / 0.6423 GB, free: 1.129 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.45, allocations: 266.7 kB / 0.6426 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.4507, allocations: 292.4 kB / 0.6429 GB, free: 480 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4507, allocations: 4 kB / 0.6429 GB, free: 476 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008247/0.4515, allocations: 333.4 kB / 0.6432 GB, free: 136 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4515, allocations: 8.062 kB / 0.6432 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4515, allocations: 4 kB / 0.6432 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4516, allocations: 8 kB / 0.6432 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4519, allocations: 75.77 kB / 0.6433 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4519, allocations: 4 kB / 0.6433 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.4521, allocations: 39.81 kB / 0.6433 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.4522, allocations: 19.94 kB / 0.6433 GB, free: 15.98 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.000186/0.4523, allocations: 157.7 kB / 0.6435 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.4524, allocations: 23.86 kB / 0.6435 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.454, allocations: 1.14 MB / 0.6446 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.4541, allocations: 23.91 kB / 0.6447 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4541, allocations: 4 kB / 0.6447 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4541, allocations: 3.984 kB / 0.6447 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.4547, allocations: 0.5467 MB / 0.6452 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4547, allocations: 4 kB / 0.6452 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.455, allocations: 47.95 kB / 0.6452 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.455, allocations: 3.984 kB / 0.6452 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.455, allocations: 3.938 kB / 0.6453 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.455, allocations: 8 kB / 0.6453 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.455, allocations: 3.938 kB / 0.6453 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.456, allocations: 0.6313 MB / 0.6459 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.456, allocations: 55.47 kB / 0.6459 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.4561, allocations: 23.78 kB / 0.646 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.4563, allocations: 19.98 kB / 0.646 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.4564, allocations: 27.89 kB / 0.646 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.4564, allocations: 8 kB / 0.646 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.4568, allocations: 307.1 kB / 0.6463 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4568, allocations: 0 / 0.6463 GB, free: 12.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002305/0.4591, allocations: 0.8616 MB / 0.6471 GB, free: 12.02 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.003386/0.4625, allocations: 0.997 MB / 0.6481 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.4633, allocations: 351.9 kB / 0.6485 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4633, allocations: 0 / 0.6485 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.4637, allocations: 211.2 kB / 0.6487 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.4646, allocations: 137 kB / 0.6488 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4661, allocations: 1.052 MB / 0.6498 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4664, allocations: 280.2 kB / 0.6501 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003349/0.4667, allocations: 181.3 kB / 0.6503 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.4668, allocations: 31.44 kB / 0.6503 GB, free: 8.742 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4668, allocations: 0 / 0.6503 GB, free: 8.742 MB / 494.1 MB Notification: Performance of Templates: time 0.04921/0.516, allocations: 34.73 MB / 0.6842 GB, free: 6.117 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 -s gbode -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.477209603006486]