Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002058/0.002058, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002439/0.002439, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 70.56 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.154, allocations: 61.04 MB / 0.5166 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3423/0.4963, allocations: 27.57 MB / 0.5436 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.519, allocations: 15.64 MB / 0.5588 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.5196, allocations: 13.59 kB / 0.5589 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.5205, allocations: 195.5 kB / 0.559 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.5216, allocations: 282 kB / 0.5593 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02583/0.5474, allocations: 5.973 MB / 0.5651 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.5489, allocations: 0.8455 MB / 0.566 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.5495, allocations: 199.9 kB / 0.5662 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/0.5644, allocations: 5.469 MB / 0.5715 GB, free: 208 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.5651, allocations: 237.5 kB / 0.5717 GB, free: 112 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5653, allocations: 30.53 kB / 0.5718 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02178/0.5871, allocations: 6.045 MB / 0.5777 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.5873, allocations: 96.59 kB / 0.5778 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.5878, allocations: 157 kB / 0.5779 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.6029, allocations: 3.838 MB / 0.5817 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6029, allocations: 1.062 kB / 0.5817 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6029, allocations: 0 / 0.5817 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.603, allocations: 0 / 0.5817 GB, free: 10.52 MB / 430.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.00482/0.6078, allocations: 0.9979 MB / 0.5826 GB, free: 9.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6078, allocations: 9.375 kB / 0.5826 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.6097, allocations: 193.2 kB / 0.5828 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/0.6106, allocations: 286.6 kB / 0.5831 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.6107, allocations: 25.44 kB / 0.5831 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.6107, allocations: 25.16 kB / 0.5831 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6123, allocations: 0.6326 MB / 0.5838 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6123, allocations: 0.9688 kB / 0.5838 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.6124, allocations: 14.91 kB / 0.5838 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.6124, allocations: 6.812 kB / 0.5838 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.6138, allocations: 413 kB / 0.5842 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.6172, allocations: 1.772 MB / 0.5859 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.6184, allocations: 315.8 kB / 0.5862 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6187, allocations: 103 kB / 0.5863 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0336/0.6523, allocations: 8.51 MB / 0.5946 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/0.6524, allocations: 34.56 kB / 0.5947 GB, free: 2.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 4.449e-06/0.6524, allocations: 1.078 kB / 0.5947 GB, free: 2.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.002478/0.6548, allocations: 0.5135 MB / 0.5952 GB, free: 1.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.655, allocations: 110.8 kB / 0.5953 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.6555, allocations: 284 kB / 0.5955 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.6556, allocations: 25.7 kB / 0.5956 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.6558, allocations: 212 kB / 0.5958 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.6559, allocations: 63.45 kB / 0.5958 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.6561, allocations: 65.64 kB / 0.5959 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6563, allocations: 338.8 kB / 0.5962 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.6566, allocations: 91.92 kB / 0.5963 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.6571, allocations: 259.8 kB / 0.5965 GB, free: 180 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.6578, allocations: 306.8 kB / 0.5968 GB, free: 15.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6578, allocations: 0 / 0.5968 GB, free: 15.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008908/0.6587, allocations: 332.7 kB / 0.5971 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6587, allocations: 8 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6588, allocations: 4 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.6588, allocations: 4.469 kB / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.6591, allocations: 71.89 kB / 0.5972 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.6591, allocations: 15.88 kB / 0.5972 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.6594, allocations: 39.77 kB / 0.5973 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.6594, allocations: 11.98 kB / 0.5973 GB, free: 15.35 MB / 446.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.0002398/0.6597, allocations: 149.8 kB / 0.5974 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.6598, allocations: 31.81 kB / 0.5975 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.6617, allocations: 1.159 MB / 0.5986 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/0.6618, allocations: 15.97 kB / 0.5986 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6618, allocations: 7.938 kB / 0.5986 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6618, allocations: 1.594 kB / 0.5986 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.6627, allocations: 0.5545 MB / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6627, allocations: 4.625 kB / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.6629, allocations: 47.89 kB / 0.5992 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6629, allocations: 0 / 0.5992 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6629, allocations: 7.984 kB / 0.5992 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6629, allocations: 7.625 kB / 0.5992 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6629, allocations: 0 / 0.5992 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.664, allocations: 0.6314 MB / 0.5998 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.6642, allocations: 55.42 kB / 0.5999 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.6643, allocations: 27.72 kB / 0.5999 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.6645, allocations: 15.98 kB / 0.5999 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.6646, allocations: 31.83 kB / 0.6 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.6646, allocations: 4 kB / 0.6 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.665, allocations: 311.1 kB / 0.6003 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.665, allocations: 0 / 0.6003 GB, free: 12.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004187/0.6692, allocations: 0.85 MB / 0.6011 GB, free: 11.38 MB / 446.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.00641/0.6756, allocations: 1.011 MB / 0.6021 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6766, allocations: 349.1 kB / 0.6024 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6766, allocations: 4 kB / 0.6024 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.677, allocations: 212.5 kB / 0.6026 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.678, allocations: 137.7 kB / 0.6028 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.6799, allocations: 1.038 MB / 0.6038 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6802, allocations: 284.1 kB / 0.604 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.6806, allocations: 181.4 kB / 0.6042 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.6807, allocations: 31.44 kB / 0.6043 GB, free: 8.121 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6807, allocations: 0 / 0.6043 GB, free: 8.121 MB / 446.1 MB Notification: Performance of Templates: time 0.05501/0.7357, allocations: 34.45 MB / 0.6379 GB, free: 5.684 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.27132292278111]