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.001012/0.001012, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001261/0.001261, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9199/0.9199, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.24/0.24, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.765e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02468/0.02471, allocations: 14.55 MB / 390.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.03606, allocations: 12.75 MB / 403.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.03634, allocations: 19.81 kB / 403.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.0368, allocations: 131 kB / 403.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.03735, allocations: 290.1 kB / 403.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.04863, allocations: 5.561 MB / 409.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009732/0.0496, allocations: 0.877 MB / 410.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.04998, allocations: 209.3 kB / 410.4 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.05316, allocations: 2.216 MB / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.05348, allocations: 219.3 kB / 412.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.05353, allocations: 32 kB / 412.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007731/0.06126, allocations: 5.931 MB / 418.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.06138, allocations: 99.66 kB / 418.9 MB, free: 9.645 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.06154, allocations: 143.7 kB / 419 MB, free: 9.504 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007007/0.06855, allocations: 4.552 MB / 423.6 MB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.06855, allocations: 0 / 423.6 MB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.06855, allocations: 0 / 423.6 MB, free: 4.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.06856, allocations: 3.938 kB / 423.6 MB, free: 4.938 MB / 394.7 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.001728/0.07029, allocations: 1.047 MB / 424.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.07033, allocations: 8.031 kB / 424.6 MB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/0.07125, allocations: 279.8 kB / 424.9 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.0716, allocations: 299.4 kB / 425.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.07162, allocations: 29.03 kB / 425.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.07166, allocations: 24.38 kB / 425.2 MB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.07237, allocations: 0.6238 MB / 425.9 MB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.07237, allocations: 4.188 kB / 425.9 MB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.0724, allocations: 15.94 kB / 425.9 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.07241, allocations: 4 kB / 425.9 MB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.07289, allocations: 290.6 kB / 426.2 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.07459, allocations: 2.222 MB / 428.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.07514, allocations: 274.8 kB / 428.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.07522, allocations: 47.66 kB / 428.7 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/0.08983, allocations: 8.855 MB / 437.6 MB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.08987, allocations: 53.31 kB / 437.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/0.08987, allocations: 0 / 437.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009066/0.09078, allocations: 399.7 kB / 438 MB, free: 6.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.09082, allocations: 110.8 kB / 438.1 MB, free: 6.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.09104, allocations: 318.2 kB / 438.4 MB, free: 5.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.09106, allocations: 25.7 kB / 438.5 MB, free: 5.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.09117, allocations: 270.6 kB / 438.7 MB, free: 5.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.09121, allocations: 59.52 kB / 438.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.09128, allocations: 71.34 kB / 438.8 MB, free: 5.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.0914, allocations: 0.5078 MB / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.09148, allocations: 47.95 kB / 439.4 MB, free: 4.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.09164, allocations: 274.2 kB / 439.7 MB, free: 4.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.09185, allocations: 266.6 kB / 439.9 MB, free: 4.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.09186, allocations: 0 / 439.9 MB, free: 4.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002942/0.09215, allocations: 272.1 kB / 440.2 MB, free: 3.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.09217, allocations: 8 kB / 440.2 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.09218, allocations: 4 kB / 440.2 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.09219, allocations: 4 kB / 440.2 MB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.09233, allocations: 63.91 kB / 440.3 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.09234, allocations: 8.406 kB / 440.3 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.09245, allocations: 43.7 kB / 440.3 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.09247, allocations: 12 kB / 440.3 MB, free: 3.656 MB / 410.7 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.0001164/0.09259, allocations: 172.5 kB / 440.5 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.09263, allocations: 35.84 kB / 440.5 MB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.09322, allocations: 0.7462 MB / 441.3 MB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.09323, allocations: 23.91 kB / 441.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.09324, allocations: 3.984 kB / 441.3 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.09324, allocations: 0 / 441.3 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.09362, allocations: 479.5 kB / 441.8 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.09362, allocations: 0 / 441.8 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.09371, allocations: 43.91 kB / 441.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.09371, allocations: 0 / 441.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.09372, allocations: 3.984 kB / 441.8 MB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.09372, allocations: 4 kB / 441.8 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.09372, allocations: 4 kB / 441.8 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.09411, allocations: 0.5083 MB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.09415, allocations: 59.47 kB / 442.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.09419, allocations: 23.78 kB / 442.4 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.09427, allocations: 12 kB / 442.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.09433, allocations: 23.95 kB / 442.5 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.09434, allocations: 4 kB / 442.5 MB, free: 1.449 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004413/0.09478, allocations: 307 kB / 442.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09478, allocations: 3.938 kB / 442.8 MB, free: 1.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001921/0.0967, allocations: 0.8617 MB / 443.6 MB, free: 288 kB / 410.7 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.1216/0.2183, allocations: 1.093 MB / 444.7 MB, free: 78.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.2186, allocations: 202.8 kB / 444.9 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2186, allocations: 0 / 444.9 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2188, allocations: 134.5 kB / 445 MB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.2193, allocations: 174.8 kB / 445.2 MB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2204, allocations: 0.9316 MB / 446.2 MB, free: 77.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.2204, allocations: 135.5 kB / 446.3 MB, free: 77.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.2206, allocations: 174.7 kB / 446.5 MB, free: 77.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.2206, allocations: 34.56 kB / 446.5 MB, free: 77.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2206, allocations: 0 / 446.5 MB, free: 77.61 MB / 410.7 MB Notification: Performance of Templates: time 0.04141/0.2621, allocations: 40.14 MB / 486.6 MB, free: 68.98 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.982581564690918]