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.001398/0.001398, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.009845/0.009845, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 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.9637/0.9637, allocations: 177.1 MB / 205 MB, free: 5.715 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.2699/0.2699, allocations: 32.79 MB / 294.2 MB, free: 1.188 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 2.064e-06/2.064e-06, allocations: 0 / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.299e-05, allocations: 10.16 kB / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2443/0.2443, allocations: 27.56 MB / 468.4 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.2557, allocations: 15.64 MB / 484 MB, free: 19.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.2561, allocations: 14.34 kB / 484.1 MB, free: 19.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.2568, allocations: 203.9 kB / 484.3 MB, free: 19.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.2573, allocations: 299.6 kB / 484.5 MB, free: 19.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.2704, allocations: 6.082 MB / 490.6 MB, free: 16.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009261/0.2714, allocations: 0.8481 MB / 491.5 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.2717, allocations: 203.7 kB / 491.7 MB, free: 16.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.2786, allocations: 5.591 MB / 497.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.2791, allocations: 216.1 kB / 497.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.2791, allocations: 30.94 kB / 497.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.2901, allocations: 6.066 MB / 0.4918 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2902, allocations: 99.17 kB / 0.4919 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2906, allocations: 136.8 kB / 0.492 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.3034, allocations: 4.848 MB / 0.4967 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3034, allocations: 0 / 0.4967 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3034, allocations: 0 / 0.4967 GB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3034, allocations: 3.469 kB / 0.4967 GB, free: 10.29 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.0036/0.307, allocations: 1.009 MB / 0.4977 GB, free: 9.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.307, allocations: 9.594 kB / 0.4977 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/0.308, allocations: 198 kB / 0.4979 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.3085, allocations: 288 kB / 0.4982 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.3086, allocations: 25.59 kB / 0.4982 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3086, allocations: 25.03 kB / 0.4982 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.3094, allocations: 0.6322 MB / 0.4989 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3094, allocations: 192 / 0.4989 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3094, allocations: 17.81 kB / 0.4989 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3094, allocations: 7.156 kB / 0.4989 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.3101, allocations: 410 kB / 0.4993 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3118, allocations: 1.76 MB / 0.501 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.3125, allocations: 318.8 kB / 0.5013 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3126, allocations: 107.2 kB / 0.5014 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.017/0.3296, allocations: 8.863 MB / 0.5101 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3297, allocations: 34.56 kB / 0.5101 GB, free: 3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3297, allocations: 0 / 0.5101 GB, free: 3 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001127/0.3308, allocations: 0.5221 MB / 0.5106 GB, free: 2.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.3308, allocations: 110.7 kB / 0.5107 GB, free: 2.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.331, allocations: 272.1 kB / 0.511 GB, free: 2.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.331, allocations: 37.69 kB / 0.511 GB, free: 2.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.3311, allocations: 215.9 kB / 0.5112 GB, free: 1.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3312, allocations: 51.58 kB / 0.5113 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.3312, allocations: 65.64 kB / 0.5113 GB, free: 1.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.3313, allocations: 338.8 kB / 0.5116 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3314, allocations: 91.92 kB / 0.5117 GB, free: 1.254 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3316, allocations: 267.3 kB / 0.512 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3319, allocations: 294.5 kB / 0.5123 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.3319, allocations: 0 / 0.5123 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003785/0.3322, allocations: 343 kB / 0.5126 GB, free: 256 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3323, allocations: 8 kB / 0.5126 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3323, allocations: 4 kB / 0.5126 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3323, allocations: 4 kB / 0.5126 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3324, allocations: 75.83 kB / 0.5127 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3324, allocations: 7.094 kB / 0.5127 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3326, allocations: 39.77 kB / 0.5127 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3326, allocations: 15.98 kB / 0.5127 GB, free: 104 kB / 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.0001444/0.3327, allocations: 158.9 kB / 0.5129 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.3328, allocations: 27.86 kB / 0.5129 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/0.3337, allocations: 1.169 MB / 0.5141 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.3337, allocations: 15.97 kB / 0.5141 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3337, allocations: 0 / 0.5141 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3337, allocations: 0 / 0.5141 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3342, allocations: 0.5625 MB / 0.5146 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3342, allocations: 2 kB / 0.5146 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3343, allocations: 47.94 kB / 0.5147 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3343, allocations: 0 / 0.5147 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3343, allocations: 8 kB / 0.5147 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3343, allocations: 4 kB / 0.5147 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3343, allocations: 0 / 0.5147 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3348, allocations: 0.6404 MB / 0.5153 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3349, allocations: 49.88 kB / 0.5154 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3349, allocations: 23.78 kB / 0.5154 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.335, allocations: 23.92 kB / 0.5154 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3351, allocations: 23.95 kB / 0.5154 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3351, allocations: 4 kB / 0.5154 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3353, allocations: 307.1 kB / 0.5157 GB, free: 12.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3353, allocations: 0 / 0.5157 GB, free: 12.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003383/0.3387, allocations: 0.8655 MB / 0.5166 GB, free: 12.12 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.004151/0.3428, allocations: 1.121 MB / 0.5177 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.3434, allocations: 361.8 kB / 0.518 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3434, allocations: 0 / 0.518 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.3436, allocations: 204.5 kB / 0.5182 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3442, allocations: 144.5 kB / 0.5183 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3453, allocations: 1.053 MB / 0.5194 GB, free: 9.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.3455, allocations: 276.2 kB / 0.5196 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.3456, allocations: 36.5 kB / 0.5197 GB, free: 8.898 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3456, allocations: 0 / 0.5197 GB, free: 8.898 MB / 426.7 MB Notification: Performance of Templates: time 0.02403/0.3696, allocations: 20.43 MB / 0.5396 GB, free: 4.473 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.160718109458685]