Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001756/0.001756, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.002165/0.002165, allocations: 164.4 kB / 23.95 MB, free: 4.168 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.573/1.573, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 34.29 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.508e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2401/0.2401, allocations: 27.55 MB / 470.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02151/0.2616, allocations: 15.64 MB / 485.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.2621, allocations: 13.38 kB / 485.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.2629, allocations: 207.5 kB / 486.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.2637, allocations: 288.8 kB / 486.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02017/0.2839, allocations: 6.09 MB / 492.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.2852, allocations: 0.8482 MB / 493.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.2856, allocations: 201.5 kB / 493.5 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.3005, allocations: 5.597 MB / 499.1 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.3011, allocations: 219.3 kB / 499.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.3012, allocations: 28 kB / 499.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.3144, allocations: 6.071 MB / 0.4936 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.3145, allocations: 99.66 kB / 0.4937 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.3149, allocations: 143.7 kB / 0.4938 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.3262, allocations: 4.849 MB / 0.4985 GB, free: 2.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3262, allocations: 0 / 0.4985 GB, free: 2.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3262, allocations: 0 / 0.4985 GB, free: 2.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3262, allocations: 0 / 0.4985 GB, free: 2.453 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.002705/0.3289, allocations: 0.9935 MB / 0.4995 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.329, allocations: 8.031 kB / 0.4995 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.3308, allocations: 208.5 kB / 0.4997 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.3314, allocations: 288.5 kB / 0.5 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.3314, allocations: 25.03 kB / 0.5 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.3315, allocations: 24.38 kB / 0.5 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.333, allocations: 0.624 MB / 0.5006 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.333, allocations: 384 / 0.5006 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.3331, allocations: 18.47 kB / 0.5007 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3331, allocations: 15.98 kB / 0.5007 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3345, allocations: 409.4 kB / 0.5011 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.3376, allocations: 1.759 MB / 0.5028 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.3389, allocations: 318.2 kB / 0.5031 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.3393, allocations: 100.8 kB / 0.5032 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03369/0.3729, allocations: 8.866 MB / 0.5118 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.373, allocations: 43.44 kB / 0.5119 GB, free: 4.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.373, allocations: 0 / 0.5119 GB, free: 4.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002174/0.3752, allocations: 0.5166 MB / 0.5124 GB, free: 4.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.3753, allocations: 106.8 kB / 0.5125 GB, free: 3.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.3756, allocations: 280.1 kB / 0.5128 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3756, allocations: 29.7 kB / 0.5128 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3758, allocations: 215.9 kB / 0.513 GB, free: 3.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3759, allocations: 51.58 kB / 0.513 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.376, allocations: 61.64 kB / 0.5131 GB, free: 3.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3761, allocations: 338.8 kB / 0.5134 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.3764, allocations: 99.92 kB / 0.5135 GB, free: 2.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.3769, allocations: 262.8 kB / 0.5138 GB, free: 2.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.3776, allocations: 296.8 kB / 0.5141 GB, free: 2.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3776, allocations: 0 / 0.5141 GB, free: 2.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008328/0.3784, allocations: 337 kB / 0.5144 GB, free: 1.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3784, allocations: 8 kB / 0.5144 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3784, allocations: 4 kB / 0.5144 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3785, allocations: 7.188 kB / 0.5144 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3788, allocations: 76.3 kB / 0.5145 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3788, allocations: 11.94 kB / 0.5145 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.379, allocations: 39.81 kB / 0.5145 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3791, allocations: 19.94 kB / 0.5145 GB, free: 1.652 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.0001886/0.3793, allocations: 158.4 kB / 0.5147 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.3793, allocations: 23.86 kB / 0.5147 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.381, allocations: 1.156 MB / 0.5158 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.381, allocations: 15.97 kB / 0.5159 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.381, allocations: 0 / 0.5159 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.381, allocations: 0 / 0.5159 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.3816, allocations: 0.5665 MB / 0.5164 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3816, allocations: 0 / 0.5164 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3819, allocations: 55.88 kB / 0.5165 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3819, allocations: 3.938 kB / 0.5165 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3819, allocations: 8 kB / 0.5165 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3819, allocations: 0 / 0.5165 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3819, allocations: 0 / 0.5165 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.3829, allocations: 0.6367 MB / 0.5171 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.383, allocations: 51.58 kB / 0.5171 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.383, allocations: 23.78 kB / 0.5172 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3832, allocations: 15.98 kB / 0.5172 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.3833, allocations: 27.89 kB / 0.5172 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3834, allocations: 4.625 kB / 0.5172 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.3837, allocations: 303.1 kB / 0.5175 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3837, allocations: 0 / 0.5175 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002486/0.3862, allocations: 0.8655 MB / 0.5183 GB, free: 13.68 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.003809/0.39, allocations: 1.117 MB / 0.5194 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008866/0.3909, allocations: 352.2 kB / 0.5198 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3909, allocations: 0 / 0.5198 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.3913, allocations: 208.2 kB / 0.52 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.3922, allocations: 160.7 kB / 0.5201 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3938, allocations: 1.008 MB / 0.5211 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.394, allocations: 280.2 kB / 0.5214 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.3944, allocations: 180.7 kB / 0.5215 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3945, allocations: 32.5 kB / 0.5216 GB, free: 10.31 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3945, allocations: 4 kB / 0.5216 GB, free: 10.31 MB / 430.1 MB Notification: Performance of Templates: time 0.05026/0.4447, allocations: 33.92 MB / 0.5547 GB, free: 8.488 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.523533869534731]