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.001581/0.001581, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.0018/0.0018, allocations: 171.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.356/1.356, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1899/0.1899, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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 1.433e-06/1.433e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.107e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1821/0.1821, allocations: 27.54 MB / 467.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.1994, allocations: 15.65 MB / 483.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.1997, allocations: 16.94 kB / 483.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.2004, allocations: 204.6 kB / 483.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007132/0.2011, allocations: 293.1 kB / 483.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.217, allocations: 6.083 MB / 489.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.2182, allocations: 0.8521 MB / 490.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.2186, allocations: 202.5 kB / 490.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01307/0.2317, allocations: 5.6 MB / 496.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.2322, allocations: 215.4 kB / 496.7 MB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.2323, allocations: 36 kB / 496.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.2456, allocations: 6.063 MB / 0.491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.2459, allocations: 95.59 kB / 0.4911 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.2464, allocations: 139.7 kB / 0.4913 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2568, allocations: 4.845 MB / 0.496 GB, free: 6.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2568, allocations: 0 / 0.496 GB, free: 6.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2568, allocations: 0 / 0.496 GB, free: 6.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2568, allocations: 7.938 kB / 0.496 GB, free: 6.371 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.002435/0.2592, allocations: 1.002 MB / 0.497 GB, free: 5.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2593, allocations: 8.031 kB / 0.497 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.2609, allocations: 208.5 kB / 0.4972 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.2615, allocations: 280.6 kB / 0.4975 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.2615, allocations: 25.03 kB / 0.4975 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.2615, allocations: 24.38 kB / 0.4975 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2629, allocations: 0.6319 MB / 0.4981 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2629, allocations: 384 / 0.4981 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.263, allocations: 19.92 kB / 0.4981 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.263, allocations: 8 kB / 0.4981 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2642, allocations: 414.1 kB / 0.4985 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.267, allocations: 1.757 MB / 0.5003 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.2682, allocations: 312.1 kB / 0.5006 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.2685, allocations: 112.7 kB / 0.5007 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/0.2993, allocations: 8.858 MB / 0.5093 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.2993, allocations: 38.56 kB / 0.5093 GB, free: 8.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.2993, allocations: 3.938 kB / 0.5094 GB, free: 8.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002096/0.3014, allocations: 0.5213 MB / 0.5099 GB, free: 7.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3015, allocations: 102.8 kB / 0.51 GB, free: 7.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.3018, allocations: 284.1 kB / 0.5102 GB, free: 7.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3018, allocations: 25.7 kB / 0.5103 GB, free: 7.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.302, allocations: 215.9 kB / 0.5105 GB, free: 7.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.302, allocations: 51.52 kB / 0.5105 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3022, allocations: 65.64 kB / 0.5106 GB, free: 7.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3023, allocations: 338.8 kB / 0.5109 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3026, allocations: 91.92 kB / 0.511 GB, free: 6.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.303, allocations: 266.8 kB / 0.5112 GB, free: 6.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.3037, allocations: 291.1 kB / 0.5115 GB, free: 6.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3037, allocations: 4 kB / 0.5115 GB, free: 6.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00081/0.3045, allocations: 345.2 kB / 0.5118 GB, free: 5.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3045, allocations: 4 kB / 0.5119 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3045, allocations: 7.938 kB / 0.5119 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.3045, allocations: 8 kB / 0.5119 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.3048, allocations: 67.89 kB / 0.5119 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3048, allocations: 7.938 kB / 0.5119 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.3051, allocations: 35.83 kB / 0.512 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3051, allocations: 24.05 kB / 0.512 GB, free: 5.574 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.0001809/0.3053, allocations: 158.4 kB / 0.5121 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3053, allocations: 23.86 kB / 0.5122 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.3069, allocations: 1.168 MB / 0.5133 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.3069, allocations: 15.97 kB / 0.5133 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.307, allocations: 0 / 0.5133 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.307, allocations: 3.938 kB / 0.5133 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.3076, allocations: 0.5587 MB / 0.5139 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3076, allocations: 0 / 0.5139 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3078, allocations: 59.88 kB / 0.5139 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3078, allocations: 0 / 0.5139 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3079, allocations: 4 kB / 0.5139 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3079, allocations: 4 kB / 0.5139 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3079, allocations: 0 / 0.5139 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.3088, allocations: 0.6404 MB / 0.5146 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.3089, allocations: 47.53 kB / 0.5146 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.3089, allocations: 27.78 kB / 0.5146 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3092, allocations: 15.98 kB / 0.5147 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.3092, allocations: 23.95 kB / 0.5147 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3092, allocations: 8 kB / 0.5147 GB, free: 2.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.3096, allocations: 303.1 kB / 0.515 GB, free: 2.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3096, allocations: 3.938 kB / 0.515 GB, free: 2.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002323/0.3119, allocations: 0.8655 MB / 0.5158 GB, free: 1.586 MB / 414.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.004246/0.3162, allocations: 1.116 MB / 0.5169 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.3171, allocations: 357.1 kB / 0.5173 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3171, allocations: 0 / 0.5173 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.3175, allocations: 211.3 kB / 0.5175 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.3184, allocations: 143.3 kB / 0.5176 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3202, allocations: 1.011 MB / 0.5186 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3205, allocations: 280.2 kB / 0.5188 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.3209, allocations: 182.7 kB / 0.519 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.321, allocations: 28.5 kB / 0.519 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.321, allocations: 0 / 0.519 GB, free: 14.23 MB / 430.1 MB Notification: Performance of Templates: time 0.04885/0.3699, allocations: 33.94 MB / 0.5522 GB, free: 12.41 MB / 462.1 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: 6.798782613128424]