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.001442/0.001442, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001565/0.001565, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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.2514/0.2514, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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 2.134e-06/2.134e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.896e-05, allocations: 2.281 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2318/0.2318, allocations: 27.54 MB / 470.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.022/0.2538, allocations: 15.65 MB / 485.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.2546, allocations: 13.84 kB / 485.9 MB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2556, allocations: 203.9 kB / 486.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.2563, allocations: 300.7 kB / 486.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02045/0.2768, allocations: 6.096 MB / 492.5 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2782, allocations: 0.8391 MB / 493.3 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.2786, allocations: 203.1 kB / 493.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.2929, allocations: 5.597 MB / 499.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.2935, allocations: 219.4 kB / 499.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.2936, allocations: 32 kB / 499.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.3069, allocations: 6.068 MB / 0.4936 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.3071, allocations: 99.58 kB / 0.4936 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.3074, allocations: 135.8 kB / 0.4938 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3187, allocations: 4.857 MB / 0.4985 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3187, allocations: 0 / 0.4985 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3187, allocations: 0 / 0.4985 GB, free: 2.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3187, allocations: 0 / 0.4985 GB, free: 2.273 MB / 398.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.002674/0.3213, allocations: 0.9935 MB / 0.4995 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3214, allocations: 8.031 kB / 0.4995 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.3232, allocations: 206.4 kB / 0.4997 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.3239, allocations: 284.6 kB / 0.5 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.324, allocations: 25.03 kB / 0.5 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.324, allocations: 28.38 kB / 0.5 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3256, allocations: 0.6279 MB / 0.5006 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3256, allocations: 4.375 kB / 0.5006 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.3256, allocations: 15.94 kB / 0.5007 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3256, allocations: 4 kB / 0.5007 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.327, allocations: 413.5 kB / 0.501 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.3301, allocations: 1.761 MB / 0.5028 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.3314, allocations: 318.3 kB / 0.5031 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3317, allocations: 108.8 kB / 0.5032 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03343/0.3652, allocations: 8.855 MB / 0.5118 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3652, allocations: 38.56 kB / 0.5119 GB, free: 4.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.3652, allocations: 0 / 0.5119 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002327/0.3675, allocations: 0.5226 MB / 0.5124 GB, free: 3.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.3676, allocations: 110.8 kB / 0.5125 GB, free: 3.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.368, allocations: 276.1 kB / 0.5127 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.368, allocations: 33.64 kB / 0.5128 GB, free: 3.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3682, allocations: 219.9 kB / 0.513 GB, free: 3.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.3683, allocations: 51.56 kB / 0.513 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3684, allocations: 61.66 kB / 0.5131 GB, free: 3.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3686, allocations: 338.8 kB / 0.5134 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3689, allocations: 95.92 kB / 0.5135 GB, free: 2.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.3694, allocations: 270.1 kB / 0.5138 GB, free: 2.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.3701, allocations: 291.7 kB / 0.514 GB, free: 1.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3701, allocations: 4 kB / 0.514 GB, free: 1.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009041/0.371, allocations: 345 kB / 0.5144 GB, free: 1.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.371, allocations: 4 kB / 0.5144 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.371, allocations: 7.875 kB / 0.5144 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.371, allocations: 8 kB / 0.5144 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3713, allocations: 67.89 kB / 0.5145 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3714, allocations: 7.984 kB / 0.5145 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3716, allocations: 40.23 kB / 0.5145 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3716, allocations: 19.94 kB / 0.5145 GB, free: 1.477 MB / 414.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.0002018/0.3718, allocations: 157.7 kB / 0.5147 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.3719, allocations: 23.86 kB / 0.5147 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3737, allocations: 1.168 MB / 0.5158 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.3737, allocations: 11.98 kB / 0.5158 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3737, allocations: 0 / 0.5158 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3737, allocations: 0 / 0.5158 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.3745, allocations: 0.5703 MB / 0.5164 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3745, allocations: 0 / 0.5164 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3747, allocations: 51.95 kB / 0.5165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3747, allocations: 0 / 0.5165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3748, allocations: 4 kB / 0.5165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3748, allocations: 0 / 0.5165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3748, allocations: 4 kB / 0.5165 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3758, allocations: 0.6405 MB / 0.5171 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.3759, allocations: 51.58 kB / 0.5171 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.376, allocations: 27.78 kB / 0.5172 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3762, allocations: 11.98 kB / 0.5172 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.3763, allocations: 19.97 kB / 0.5172 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3763, allocations: 11.98 kB / 0.5172 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003859/0.3767, allocations: 303.1 kB / 0.5175 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3767, allocations: 0 / 0.5175 GB, free: 14.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002551/0.3793, allocations: 0.8616 MB / 0.5183 GB, free: 13.5 MB / 430.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.004706/0.384, allocations: 1.12 MB / 0.5194 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.3848, allocations: 351.1 kB / 0.5198 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3848, allocations: 0 / 0.5198 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3852, allocations: 208.5 kB / 0.52 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.3861, allocations: 148.4 kB / 0.5201 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3878, allocations: 1.019 MB / 0.5211 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3881, allocations: 284.1 kB / 0.5214 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003377/0.3884, allocations: 174.7 kB / 0.5215 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.3885, allocations: 36.48 kB / 0.5216 GB, free: 10.13 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3885, allocations: 0 / 0.5216 GB, free: 10.13 MB / 430.1 MB Notification: Performance of Templates: time 0.05397/0.4425, allocations: 33.92 MB / 0.5547 GB, free: 8.312 MB / 462.1 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=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/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_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: 7.419900394976139]