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.001407/0.001407, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001707/0.001707, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.522/1.522, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2443/0.2443, allocations: 46.95 MB / 361.6 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002422/0.002422, allocations: 87.86 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3734, allocations: 66.09 MB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03523/0.4086, allocations: 27.71 MB / 0.589 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02255/0.4311, allocations: 15.66 MB / 0.6043 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005751/0.4317, allocations: 23.81 kB / 0.6043 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.4326, allocations: 194.7 kB / 0.6045 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.4336, allocations: 282.4 kB / 0.6048 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01764/0.4513, allocations: 6.003 MB / 0.6106 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.4526, allocations: 0.8498 MB / 0.6114 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.453, allocations: 193 kB / 0.6116 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.465, allocations: 5.485 MB / 0.617 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.4657, allocations: 246.9 kB / 0.6172 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.4658, allocations: 28 kB / 0.6173 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02103/0.4868, allocations: 6.06 MB / 0.6232 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.487, allocations: 87.69 kB / 0.6233 GB, free: 4.883 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.4875, allocations: 171.2 kB / 0.6234 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4992, allocations: 3.854 MB / 0.6272 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4992, allocations: 0 / 0.6272 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4992, allocations: 0 / 0.6272 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.4992, allocations: 0 / 0.6272 GB, free: 0.8516 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.003854/0.5031, allocations: 1.001 MB / 0.6282 GB, free: 15.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5031, allocations: 12.03 kB / 0.6282 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.5063, allocations: 200.5 kB / 0.6284 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.5072, allocations: 281 kB / 0.6286 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.5072, allocations: 25.03 kB / 0.6287 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.5073, allocations: 32.31 kB / 0.6287 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.5097, allocations: 0.6272 MB / 0.6293 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.5097, allocations: 0 / 0.6293 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.5098, allocations: 19.94 kB / 0.6293 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5098, allocations: 8 kB / 0.6293 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.5121, allocations: 405.2 kB / 0.6297 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004984/0.5171, allocations: 1.774 MB / 0.6314 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.5191, allocations: 324.8 kB / 0.6318 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.5195, allocations: 104.8 kB / 0.6319 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03642/0.5559, allocations: 8.862 MB / 0.6405 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.556, allocations: 38.56 kB / 0.6405 GB, free: 2.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.556, allocations: 0 / 0.6405 GB, free: 2.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002198/0.5582, allocations: 0.5166 MB / 0.641 GB, free: 2.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.5583, allocations: 106.8 kB / 0.6411 GB, free: 2.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.5587, allocations: 280.1 kB / 0.6414 GB, free: 1.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.5588, allocations: 25.7 kB / 0.6414 GB, free: 1.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.559, allocations: 219.9 kB / 0.6417 GB, free: 1.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.5591, allocations: 55.58 kB / 0.6417 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5592, allocations: 61.69 kB / 0.6418 GB, free: 1.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5594, allocations: 338.8 kB / 0.6421 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.5597, allocations: 95.86 kB / 0.6422 GB, free: 1.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.5601, allocations: 262.8 kB / 0.6424 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.5608, allocations: 300.2 kB / 0.6427 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5608, allocations: 3.938 kB / 0.6427 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008628/0.5617, allocations: 333 kB / 0.643 GB, free: 196 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5617, allocations: 8 kB / 0.643 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5617, allocations: 4 kB / 0.643 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5617, allocations: 4.469 kB / 0.6431 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.562, allocations: 75.83 kB / 0.6431 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.5621, allocations: 11.94 kB / 0.6431 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.5623, allocations: 43.75 kB / 0.6432 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.5624, allocations: 15.94 kB / 0.6432 GB, free: 32 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.0002361/0.5626, allocations: 157.7 kB / 0.6433 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.5627, allocations: 23.86 kB / 0.6434 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.5644, allocations: 1.163 MB / 0.6445 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.5644, allocations: 19.91 kB / 0.6445 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5644, allocations: 4 kB / 0.6445 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5644, allocations: 0 / 0.6445 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.5652, allocations: 0.5467 MB / 0.6451 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5652, allocations: 4 kB / 0.6451 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.5654, allocations: 55.88 kB / 0.6451 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5654, allocations: 0 / 0.6451 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5655, allocations: 0 / 0.6451 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5655, allocations: 4 kB / 0.6451 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5655, allocations: 3.938 kB / 0.6451 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5666, allocations: 0.6353 MB / 0.6457 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5667, allocations: 47.53 kB / 0.6458 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.5667, allocations: 31.73 kB / 0.6458 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.567, allocations: 15.98 kB / 0.6458 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.567, allocations: 27.89 kB / 0.6459 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.5671, allocations: 4 kB / 0.6459 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004263/0.5675, allocations: 303.1 kB / 0.6462 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5675, allocations: 4 kB / 0.6462 GB, free: 12.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002748/0.5702, allocations: 0.8655 MB / 0.647 GB, free: 12.06 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.004669/0.5749, allocations: 0.9931 MB / 0.648 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009052/0.5758, allocations: 351 kB / 0.6483 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5758, allocations: 4.938 kB / 0.6483 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.5762, allocations: 216.5 kB / 0.6485 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.5771, allocations: 138.4 kB / 0.6486 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.579, allocations: 1.073 MB / 0.6497 GB, free: 9.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5793, allocations: 280.2 kB / 0.65 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5794, allocations: 39.42 kB / 0.65 GB, free: 8.918 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5794, allocations: 4 kB / 0.65 GB, free: 8.914 MB / 494.1 MB Notification: Performance of Templates: time 0.03837/0.6178, allocations: 20.33 MB / 0.6699 GB, free: 4.59 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 10.615871224086732]