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.001024/0.001024, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006349/0.006349, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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.9833/0.9833, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.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.2939/0.2939, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.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.994e-06/1.994e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.819e-05, allocations: 6.219 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.257/0.2571, allocations: 27.56 MB / 471 MB, free: 27.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.2688, allocations: 15.63 MB / 486.6 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.269, allocations: 18.12 kB / 486.6 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.2696, allocations: 205 kB / 486.8 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.2702, allocations: 290.9 kB / 487.1 MB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.283, allocations: 6.087 MB / 493.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007377/0.2837, allocations: 0.8443 MB / 494 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.2841, allocations: 204.2 kB / 494.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007587/0.2916, allocations: 5.596 MB / 499.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.292, allocations: 216.8 kB / 0.4883 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.292, allocations: 29.94 kB / 0.4884 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.3044, allocations: 6.074 MB / 0.4943 GB, free: 9.246 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3045, allocations: 94.91 kB / 0.4944 GB, free: 9.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3047, allocations: 141.5 kB / 0.4945 GB, free: 9.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.3132, allocations: 4.851 MB / 0.4992 GB, free: 6.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3132, allocations: 0 / 0.4992 GB, free: 6.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3132, allocations: 0 / 0.4992 GB, free: 6.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3133, allocations: 2.062 kB / 0.4993 GB, free: 6.844 MB / 410.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.001862/0.3151, allocations: 0.9963 MB / 0.5002 GB, free: 6.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3152, allocations: 14.06 kB / 0.5002 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.3161, allocations: 198.6 kB / 0.5004 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.3165, allocations: 283.8 kB / 0.5007 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.3165, allocations: 25.41 kB / 0.5007 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3165, allocations: 25.03 kB / 0.5007 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.3174, allocations: 0.6292 MB / 0.5014 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3174, allocations: 6.141 kB / 0.5014 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3174, allocations: 20.44 kB / 0.5014 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3174, allocations: 7.062 kB / 0.5014 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.3181, allocations: 402 kB / 0.5018 GB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.3197, allocations: 1.77 MB / 0.5035 GB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.3204, allocations: 315.4 kB / 0.5038 GB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3205, allocations: 104.6 kB / 0.5039 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/0.3359, allocations: 8.87 MB / 0.5126 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.3359, allocations: 34.56 kB / 0.5126 GB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.3359, allocations: 0 / 0.5126 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001705/0.3376, allocations: 0.5243 MB / 0.5131 GB, free: 14.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3377, allocations: 102.8 kB / 0.5132 GB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.3379, allocations: 277.8 kB / 0.5135 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.338, allocations: 29.7 kB / 0.5135 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3381, allocations: 211.9 kB / 0.5137 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3381, allocations: 55.56 kB / 0.5138 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.3382, allocations: 65.58 kB / 0.5138 GB, free: 13.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007333/0.3389, allocations: 346.8 kB / 0.5142 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3391, allocations: 91.92 kB / 0.5142 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3393, allocations: 267.7 kB / 0.5145 GB, free: 12.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.3396, allocations: 300.7 kB / 0.5148 GB, free: 12.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3396, allocations: 0 / 0.5148 GB, free: 12.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000432/0.3401, allocations: 340.9 kB / 0.5151 GB, free: 12.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3401, allocations: 8 kB / 0.5151 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3401, allocations: 4 kB / 0.5151 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3401, allocations: 4.469 kB / 0.5151 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3403, allocations: 71.89 kB / 0.5152 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3403, allocations: 8 kB / 0.5152 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3404, allocations: 39.77 kB / 0.5152 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3405, allocations: 15.98 kB / 0.5153 GB, free: 11.89 MB / 426.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.000131/0.3406, allocations: 157.7 kB / 0.5154 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3406, allocations: 31.84 kB / 0.5154 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.342, allocations: 1.16 MB / 0.5166 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.342, allocations: 19.97 kB / 0.5166 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.342, allocations: 1.688 kB / 0.5166 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.342, allocations: 0 / 0.5166 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.3424, allocations: 0.5626 MB / 0.5171 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3425, allocations: 0 / 0.5171 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3426, allocations: 47.94 kB / 0.5172 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3426, allocations: 0 / 0.5172 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3426, allocations: 8 kB / 0.5172 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3426, allocations: 0 / 0.5172 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3426, allocations: 0 / 0.5172 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.3431, allocations: 0.6443 MB / 0.5178 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.3432, allocations: 47.53 kB / 0.5179 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.3432, allocations: 23.78 kB / 0.5179 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.3433, allocations: 20.73 kB / 0.5179 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.3434, allocations: 23.95 kB / 0.5179 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3434, allocations: 4 kB / 0.5179 GB, free: 9.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3436, allocations: 307.1 kB / 0.5182 GB, free: 8.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3436, allocations: 4 kB / 0.5182 GB, free: 8.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003573/0.3472, allocations: 0.8655 MB / 0.5191 GB, free: 7.914 MB / 426.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.002491/0.3497, allocations: 1.108 MB / 0.5202 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.3501, allocations: 352.3 kB / 0.5205 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3501, allocations: 0.9375 kB / 0.5205 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3503, allocations: 208.5 kB / 0.5207 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.3509, allocations: 158.7 kB / 0.5208 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.352, allocations: 1.051 MB / 0.5219 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3521, allocations: 276.2 kB / 0.5221 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.3522, allocations: 36.48 kB / 0.5222 GB, free: 4.699 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3522, allocations: 4 kB / 0.5222 GB, free: 4.695 MB / 426.7 MB Notification: Performance of Templates: time 0.02322/0.3754, allocations: 20.42 MB / 0.5421 GB, free: 304 kB / 442.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=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: 6.697256015613675]