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.0008738/0.0008738, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003614/0.003614, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.9078/0.9078, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2599/0.2599, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 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 1.403e-06/1.403e-06, allocations: 0 / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.212e-05, allocations: 5.234 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2121/0.2121, allocations: 27.54 MB / 471 MB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2223, allocations: 15.64 MB / 486.6 MB, free: 16.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.2225, allocations: 13.91 kB / 486.6 MB, free: 16.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.2231, allocations: 201.7 kB / 486.8 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2235, allocations: 305.6 kB / 487.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.2337, allocations: 6.075 MB / 493.2 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.2344, allocations: 0.8489 MB / 494.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.2346, allocations: 206.4 kB / 494.3 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006247/0.2409, allocations: 5.59 MB / 499.8 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.2412, allocations: 217.9 kB / 0.4883 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.2412, allocations: 30.12 kB / 0.4884 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009865/0.2511, allocations: 6.067 MB / 0.4943 GB, free: 9.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2512, allocations: 98.23 kB / 0.4944 GB, free: 9.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2514, allocations: 134.5 kB / 0.4945 GB, free: 9.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.2579, allocations: 4.854 MB / 0.4993 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2579, allocations: 9.5 kB / 0.4993 GB, free: 6.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2579, allocations: 0 / 0.4993 GB, free: 6.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2579, allocations: 0 / 0.4993 GB, free: 6.949 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.001332/0.2592, allocations: 0.9961 MB / 0.5002 GB, free: 6.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2592, allocations: 9.938 kB / 0.5002 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.2601, allocations: 206.7 kB / 0.5004 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.2605, allocations: 283.5 kB / 0.5007 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2605, allocations: 21.5 kB / 0.5007 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.2605, allocations: 25.31 kB / 0.5008 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.2612, allocations: 0.633 MB / 0.5014 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2612, allocations: 4.125 kB / 0.5014 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.2613, allocations: 16.44 kB / 0.5014 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2613, allocations: 10.92 kB / 0.5014 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.2619, allocations: 406.1 kB / 0.5018 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.2634, allocations: 1.764 MB / 0.5035 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.264, allocations: 311.2 kB / 0.5038 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2642, allocations: 107.1 kB / 0.5039 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/0.2798, allocations: 8.878 MB / 0.5126 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2799, allocations: 30.56 kB / 0.5126 GB, free: 14.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.2799, allocations: 0 / 0.5126 GB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001168/0.281, allocations: 0.5307 MB / 0.5131 GB, free: 14.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2811, allocations: 106.8 kB / 0.5132 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2813, allocations: 276.1 kB / 0.5135 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.2815, allocations: 25.7 kB / 0.5135 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2816, allocations: 215.9 kB / 0.5137 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2816, allocations: 51.58 kB / 0.5138 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.2817, allocations: 65.64 kB / 0.5138 GB, free: 13.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.2818, allocations: 334.8 kB / 0.5142 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.282, allocations: 95.92 kB / 0.5142 GB, free: 13.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.2822, allocations: 275.2 kB / 0.5145 GB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2825, allocations: 289.5 kB / 0.5148 GB, free: 12.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2825, allocations: 0 / 0.5148 GB, free: 12.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004334/0.2829, allocations: 344.3 kB / 0.5151 GB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2829, allocations: 8 kB / 0.5151 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.283, allocations: 8.938 kB / 0.5151 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.283, allocations: 4 kB / 0.5151 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2831, allocations: 71.89 kB / 0.5152 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2831, allocations: 4 kB / 0.5152 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2833, allocations: 52.03 kB / 0.5153 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2833, allocations: 16 kB / 0.5153 GB, free: 12 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.0001255/0.2834, allocations: 159.2 kB / 0.5154 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.2835, allocations: 23.86 kB / 0.5154 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.2843, allocations: 1.167 MB / 0.5166 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.2844, allocations: 15.97 kB / 0.5166 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2844, allocations: 0 / 0.5166 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2844, allocations: 0 / 0.5166 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.2848, allocations: 0.5548 MB / 0.5171 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2848, allocations: 0 / 0.5171 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2849, allocations: 51.94 kB / 0.5172 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2849, allocations: 4 kB / 0.5172 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2849, allocations: 4 kB / 0.5172 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2849, allocations: 0.8594 kB / 0.5172 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2849, allocations: 0 / 0.5172 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.2854, allocations: 0.6442 MB / 0.5178 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.2855, allocations: 51.53 kB / 0.5179 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.2855, allocations: 27.78 kB / 0.5179 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.2856, allocations: 19.97 kB / 0.5179 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2857, allocations: 15.97 kB / 0.5179 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2857, allocations: 12.88 kB / 0.518 GB, free: 9.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.2859, allocations: 299.1 kB / 0.5182 GB, free: 8.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2859, allocations: 0 / 0.5182 GB, free: 8.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002752/0.2886, allocations: 0.8694 MB / 0.5191 GB, free: 8.031 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.002716/0.2913, allocations: 1.128 MB / 0.5202 GB, free: 6.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.292, allocations: 344.7 kB / 0.5205 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.292, allocations: 0 / 0.5205 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.2922, allocations: 208.5 kB / 0.5207 GB, free: 6.352 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2927, allocations: 157.6 kB / 0.5209 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2937, allocations: 1.044 MB / 0.5219 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2938, allocations: 280.2 kB / 0.5222 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.2939, allocations: 40.48 kB / 0.5222 GB, free: 4.797 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2939, allocations: 0 / 0.5222 GB, free: 4.797 MB / 426.7 MB Notification: Performance of Templates: time 0.02128/0.3152, allocations: 20.43 MB / 0.5421 GB, free: 380 kB / 442.7 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.086818580515683]