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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001461/0.001461, allocations: 210.2 kB / 23.73 MB, free: 4.387 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2342/0.2342, allocations: 46.95 MB / 360.9 MB, free: 4.148 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.002115/0.002115, allocations: 71.89 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 66.03 MB / 0.5611 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03404/0.3863, allocations: 27.7 MB / 0.5881 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.408, allocations: 15.68 MB / 0.6034 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.4085, allocations: 15.88 kB / 0.6035 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.4092, allocations: 194.7 kB / 0.6036 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007292/0.41, allocations: 290.3 kB / 0.6039 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.4271, allocations: 5.998 MB / 0.6098 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4284, allocations: 0.8498 MB / 0.6106 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.4288, allocations: 196 kB / 0.6108 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.4401, allocations: 5.481 MB / 0.6162 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.4406, allocations: 242.9 kB / 0.6164 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.4407, allocations: 32 kB / 0.6164 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.4533, allocations: 6.056 MB / 0.6223 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.4536, allocations: 103.5 kB / 0.6224 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.4539, allocations: 159.3 kB / 0.6226 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008736/0.4626, allocations: 3.854 MB / 0.6263 GB, free: 1.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4626, allocations: 0 / 0.6263 GB, free: 1.133 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4626, allocations: 4 kB / 0.6263 GB, free: 1.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4626, allocations: 0 / 0.6263 GB, free: 1.129 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.00248/0.4651, allocations: 1.001 MB / 0.6273 GB, free: 96 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4651, allocations: 12.03 kB / 0.6273 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.4668, allocations: 200.5 kB / 0.6275 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.4674, allocations: 284.9 kB / 0.6278 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.4674, allocations: 25.03 kB / 0.6278 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.4675, allocations: 24.38 kB / 0.6278 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4688, allocations: 0.6389 MB / 0.6285 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4688, allocations: 0 / 0.6285 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.4689, allocations: 12 kB / 0.6285 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.4689, allocations: 8 kB / 0.6285 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.4701, allocations: 413.2 kB / 0.6289 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.473, allocations: 1.766 MB / 0.6306 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4742, allocations: 326.2 kB / 0.6309 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4745, allocations: 96.78 kB / 0.631 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03204/0.5065, allocations: 8.866 MB / 0.6397 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.5066, allocations: 34.56 kB / 0.6397 GB, free: 3.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.5066, allocations: 0 / 0.6397 GB, free: 3.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002045/0.5086, allocations: 0.5127 MB / 0.6402 GB, free: 2.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.5087, allocations: 114.7 kB / 0.6403 GB, free: 2.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.509, allocations: 276.1 kB / 0.6406 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.5091, allocations: 37.7 kB / 0.6406 GB, free: 2.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.5092, allocations: 215.9 kB / 0.6408 GB, free: 2.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.5093, allocations: 51.59 kB / 0.6409 GB, free: 1.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.5094, allocations: 65.69 kB / 0.6409 GB, free: 1.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5095, allocations: 342.8 kB / 0.6413 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.5098, allocations: 87.92 kB / 0.6413 GB, free: 1.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.5102, allocations: 262.8 kB / 0.6416 GB, free: 1.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.5108, allocations: 296.6 kB / 0.6419 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.5108, allocations: 4 kB / 0.6419 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000756/0.5116, allocations: 333.4 kB / 0.6422 GB, free: 484 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5116, allocations: 8.094 kB / 0.6422 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5116, allocations: 4 kB / 0.6422 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5116, allocations: 4 kB / 0.6422 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.5119, allocations: 75.83 kB / 0.6423 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.5119, allocations: 11.88 kB / 0.6423 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.5122, allocations: 39.77 kB / 0.6423 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.5122, allocations: 19.98 kB / 0.6424 GB, free: 320 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.0001734/0.5124, allocations: 157.7 kB / 0.6425 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.5124, allocations: 23.86 kB / 0.6425 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.514, allocations: 1.159 MB / 0.6437 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.514, allocations: 23.91 kB / 0.6437 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.514, allocations: 0 / 0.6437 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.514, allocations: 0 / 0.6437 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.5147, allocations: 0.5506 MB / 0.6442 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5147, allocations: 0 / 0.6442 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5149, allocations: 51.94 kB / 0.6443 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5149, allocations: 4 kB / 0.6443 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5149, allocations: 0 / 0.6443 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5149, allocations: 4 kB / 0.6443 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5149, allocations: 7.938 kB / 0.6443 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.5158, allocations: 0.6352 MB / 0.6449 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.5159, allocations: 51.53 kB / 0.645 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.516, allocations: 23.73 kB / 0.645 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.5162, allocations: 23.98 kB / 0.645 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.5162, allocations: 31.83 kB / 0.645 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.5163, allocations: 4 kB / 0.645 GB, free: 13.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.5166, allocations: 307.1 kB / 0.6453 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5166, allocations: 0 / 0.6453 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002512/0.5191, allocations: 0.8577 MB / 0.6462 GB, free: 12.34 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.003583/0.5227, allocations: 1 MB / 0.6471 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009239/0.5236, allocations: 349.2 kB / 0.6475 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5236, allocations: 0 / 0.6475 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.524, allocations: 215.4 kB / 0.6477 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.525, allocations: 153 kB / 0.6478 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.5267, allocations: 1.044 MB / 0.6488 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.5269, allocations: 276.2 kB / 0.6491 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.5273, allocations: 182.7 kB / 0.6493 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.5274, allocations: 31.44 kB / 0.6493 GB, free: 9.059 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5274, allocations: 0 / 0.6493 GB, free: 9.059 MB / 494.1 MB Notification: Performance of Templates: time 0.05124/0.5786, allocations: 34.54 MB / 0.683 GB, free: 6.633 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: 7.78929490596056]