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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.239/0.239, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003184/0.003184, allocations: 59.91 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.476, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04001/0.516, allocations: 30.52 MB / 0.5786 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02657/0.5426, allocations: 17.75 MB / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.5431, allocations: 15.88 kB / 0.596 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.544, allocations: 218.6 kB / 0.5962 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.545, allocations: 282.3 kB / 0.5964 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02318/0.5682, allocations: 6.065 MB / 0.6024 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.5701, allocations: 0.8499 MB / 0.6032 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.5706, allocations: 200.9 kB / 0.6034 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/0.5858, allocations: 5.489 MB / 0.6087 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.5864, allocations: 259 kB / 0.609 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.5864, allocations: 32 kB / 0.609 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/0.6009, allocations: 6.334 MB / 0.6152 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.6011, allocations: 87.69 kB / 0.6153 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.6016, allocations: 199.1 kB / 0.6155 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.6148, allocations: 3.851 MB / 0.6192 GB, free: 7.062 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.6148, allocations: 4 kB / 0.6192 GB, free: 7.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6148, allocations: 0 / 0.6192 GB, free: 7.059 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.6148, allocations: 0 / 0.6192 GB, free: 7.059 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.003685/0.6185, allocations: 0.9897 MB / 0.6202 GB, free: 6.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.6185, allocations: 8.031 kB / 0.6202 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.6204, allocations: 204.5 kB / 0.6204 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.6212, allocations: 280.9 kB / 0.6207 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.6212, allocations: 25.03 kB / 0.6207 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.6213, allocations: 32.31 kB / 0.6207 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6227, allocations: 492 kB / 0.6212 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6228, allocations: 0 / 0.6212 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.6228, allocations: 12 kB / 0.6212 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.6228, allocations: 8 kB / 0.6212 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6242, allocations: 409.2 kB / 0.6216 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.6279, allocations: 2.241 MB / 0.6238 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.6292, allocations: 318.3 kB / 0.6241 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.6295, allocations: 100.8 kB / 0.6242 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03352/0.6631, allocations: 8.484 MB / 0.6325 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.6631, allocations: 42.56 kB / 0.6325 GB, free: 9.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.6631, allocations: 0 / 0.6325 GB, free: 9.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002358/0.6655, allocations: 0.5204 MB / 0.633 GB, free: 8.629 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.6656, allocations: 102.8 kB / 0.6331 GB, free: 8.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.6661, allocations: 324.4 kB / 0.6334 GB, free: 8.168 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.6661, allocations: 33.64 kB / 0.6335 GB, free: 8.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.6663, allocations: 208.1 kB / 0.6337 GB, free: 7.922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.6664, allocations: 59.52 kB / 0.6337 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.6665, allocations: 65.64 kB / 0.6338 GB, free: 7.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.6667, allocations: 338.8 kB / 0.6341 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.6671, allocations: 95.86 kB / 0.6342 GB, free: 7.359 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.6675, allocations: 207.4 kB / 0.6344 GB, free: 7.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.6682, allocations: 300.5 kB / 0.6347 GB, free: 6.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6683, allocations: 7.938 kB / 0.6347 GB, free: 6.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009792/0.6692, allocations: 333.1 kB / 0.635 GB, free: 6.422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6693, allocations: 8 kB / 0.635 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6693, allocations: 4 kB / 0.635 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.6693, allocations: 7.938 kB / 0.635 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.6696, allocations: 71.89 kB / 0.6351 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6696, allocations: 4.438 kB / 0.6351 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.67, allocations: 47.72 kB / 0.6352 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.67, allocations: 19.92 kB / 0.6352 GB, free: 6.262 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.0002383/0.6702, allocations: 161.7 kB / 0.6353 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.6704, allocations: 31.81 kB / 0.6354 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.6722, allocations: 1.145 MB / 0.6365 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.6722, allocations: 15.97 kB / 0.6365 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6722, allocations: 0 / 0.6365 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6722, allocations: 0 / 0.6365 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.6731, allocations: 0.6592 MB / 0.6371 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6731, allocations: 0 / 0.6371 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.6734, allocations: 51.89 kB / 0.6372 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.6734, allocations: 0 / 0.6372 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.6734, allocations: 11.94 kB / 0.6372 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6734, allocations: 0 / 0.6372 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6734, allocations: 4 kB / 0.6372 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.6745, allocations: 0.6391 MB / 0.6378 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6746, allocations: 55.47 kB / 0.6379 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.6747, allocations: 31.72 kB / 0.6379 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.6749, allocations: 11.98 kB / 0.6379 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.675, allocations: 23.95 kB / 0.6379 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.675, allocations: 8 kB / 0.638 GB, free: 3.344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004215/0.6755, allocations: 342.9 kB / 0.6383 GB, free: 3.008 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6755, allocations: 0 / 0.6383 GB, free: 3.008 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002933/0.6784, allocations: 0.8539 MB / 0.6391 GB, free: 2.152 MB / 478.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.004377/0.6828, allocations: 1.01 MB / 0.6401 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6838, allocations: 356.5 kB / 0.6404 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6838, allocations: 0 / 0.6404 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.6843, allocations: 208.5 kB / 0.6406 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.6853, allocations: 189.7 kB / 0.6408 GB, free: 424 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.6871, allocations: 1.056 MB / 0.6418 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.6877, allocations: 0.8796 MB / 0.6427 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.6882, allocations: 180.5 kB / 0.6429 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.6883, allocations: 35.42 kB / 0.6429 GB, free: 14.21 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6883, allocations: 0 / 0.6429 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Templates: time 0.05621/0.7445, allocations: 34.99 MB / 0.6771 GB, free: 11.28 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: 8.212651014328003]