Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002128/0.003309, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002969, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9636/0.9636, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08193/1.046, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2618/0.2618, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03012/0.2919, allocations: 13.24 MB / 292.8 MB, free: 6.395 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.548e-05, allocations: 5.641 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0278/0.02783, allocations: 14.61 MB / 308.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.0396, allocations: 12.81 MB / 321.5 MB, free: 9.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.03991, allocations: 15.88 kB / 321.5 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.0403, allocations: 135 kB / 321.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.04079, allocations: 294 kB / 322 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.05295, allocations: 5.057 MB / 327 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.05395, allocations: 0.877 MB / 327.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.05429, allocations: 213.2 kB / 328.1 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.05736, allocations: 1.883 MB / 330 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.05763, allocations: 203.4 kB / 330.2 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.05767, allocations: 28 kB / 330.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009063/0.06673, allocations: 6.345 MB / 336.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.0669, allocations: 83.72 kB / 336.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.06712, allocations: 119.8 kB / 336.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008008/0.07512, allocations: 3.439 MB / 340.2 MB, free: 6.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.07514, allocations: 4 kB / 340.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.07514, allocations: 0 / 340.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.07515, allocations: 0 / 340.2 MB, free: 6.844 MB / 330.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.001973/0.07712, allocations: 1.195 MB / 341.4 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.07715, allocations: 12.03 kB / 341.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.07818, allocations: 381 kB / 341.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.0785, allocations: 268.6 kB / 342 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.07852, allocations: 25.03 kB / 342.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.07855, allocations: 24.38 kB / 342.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.07921, allocations: 0.596 MB / 342.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.07922, allocations: 192 / 342.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.07924, allocations: 15.94 kB / 342.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.07925, allocations: 8 kB / 342.7 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.07967, allocations: 258.9 kB / 343 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.08095, allocations: 1.538 MB / 344.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.08145, allocations: 255.5 kB / 344.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.08149, allocations: 32.84 kB / 344.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1106/0.1921, allocations: 68.06 MB / 412.8 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1921, allocations: 34.56 kB / 412.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 4.549e-06/0.1921, allocations: 3.984 kB / 412.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.00085/0.193, allocations: 371.3 kB / 413.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.193, allocations: 59.41 kB / 413.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1932, allocations: 258.9 kB / 413.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1932, allocations: 29.64 kB / 413.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.1933, allocations: 204.3 kB / 413.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1933, allocations: 47.59 kB / 413.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.1934, allocations: 61.67 kB / 413.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.1935, allocations: 334.8 kB / 414.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.1935, allocations: 39.95 kB / 414.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1937, allocations: 214.1 kB / 414.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1938, allocations: 218.8 kB / 414.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1938, allocations: 7.938 kB / 414.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002205/0.1941, allocations: 206.9 kB / 414.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1941, allocations: 8 kB / 414.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1941, allocations: 4 kB / 414.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1941, allocations: 4 kB / 414.9 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1942, allocations: 72.36 kB / 415 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1942, allocations: 11.94 kB / 415 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1944, allocations: 35.77 kB / 415 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1944, allocations: 12 kB / 415 MB, free: 11.52 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 9.41e-05/0.1945, allocations: 132.5 kB / 415.2 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1945, allocations: 23.97 kB / 415.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.195, allocations: 0.7092 MB / 415.9 MB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.195, allocations: 11.98 kB / 415.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.195, allocations: 0 / 415.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.195, allocations: 0 / 415.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1953, allocations: 377.9 kB / 416.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1953, allocations: 0 / 416.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.1954, allocations: 43.91 kB / 416.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.1955, allocations: 59.36 kB / 416.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1955, allocations: 0 / 416.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1955, allocations: 4 kB / 416.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1955, allocations: 8 kB / 416.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1955, allocations: 0 / 416.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1958, allocations: 428.6 kB / 416.8 MB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1958, allocations: 19.84 kB / 416.8 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.1959, allocations: 11.98 kB / 416.8 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1959, allocations: 19.97 kB / 416.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1959, allocations: 7.984 kB / 416.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1961, allocations: 164.6 kB / 417 MB, free: 9.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1961, allocations: 0 / 417 MB, free: 9.465 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001924/0.198, allocations: 0.8733 MB / 417.9 MB, free: 8.59 MB / 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.00251/0.2005, allocations: 1.163 MB / 419.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2007, allocations: 170.9 kB / 419.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.2007, allocations: 8 kB / 419.2 MB, free: 7.242 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2009, allocations: 119.3 kB / 419.3 MB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.2015, allocations: 0.9539 MB / 420.3 MB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.2054, allocations: 0.9327 MB / 421.2 MB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.233e-05/0.2055, allocations: 138.6 kB / 421.4 MB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.2057, allocations: 186.8 kB / 421.5 MB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.206, allocations: 169.2 kB / 421.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.206, allocations: 0 / 421.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of Templates: time 0.1748/0.3808, allocations: 33.22 MB / 454.9 MB, free: 110.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1862802896648645]