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.001302/0.001302, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.003138, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001142/0.001142, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002444, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/1.16, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.3285/0.3285, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03051/0.359, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.425e-06/2.425e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.113e-05, allocations: 4.266 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02062/0.02066, allocations: 14.62 MB / 305.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.03371, allocations: 12.8 MB / 318 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.03411, allocations: 15.88 kB / 318 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.03453, allocations: 127.1 kB / 318.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.03511, allocations: 298.1 kB / 318.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.05037, allocations: 5.058 MB / 323.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.05174, allocations: 0.8693 MB / 324.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.05216, allocations: 217.2 kB / 324.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.0561, allocations: 1.882 MB / 326.5 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.05646, allocations: 207.3 kB / 326.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.05651, allocations: 28 kB / 326.7 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.06794, allocations: 6.36 MB / 333.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.06815, allocations: 71.73 kB / 333.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.06845, allocations: 115.8 kB / 333.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.08018, allocations: 3.454 MB / 336.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.009e-05/0.0802, allocations: 0 / 336.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.0802, allocations: 3.938 kB / 336.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.08022, allocations: 0 / 336.7 MB, free: 10.05 MB / 330.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.002991/0.08321, allocations: 1.195 MB / 337.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.08327, allocations: 8.625 kB / 337.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.08433, allocations: 392.9 kB / 338.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.08477, allocations: 260.6 kB / 338.5 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.0848, allocations: 29.03 kB / 338.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.08484, allocations: 28.38 kB / 338.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.0856, allocations: 0.5826 MB / 339.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.08561, allocations: 192 / 339.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.08564, allocations: 15.94 kB / 339.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.08565, allocations: 8 kB / 339.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.08609, allocations: 266.4 kB / 339.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.08775, allocations: 1.542 MB / 341 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.0883, allocations: 250.3 kB / 341.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.08835, allocations: 32.84 kB / 341.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1249/0.2133, allocations: 68.06 MB / 409.3 MB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.2133, allocations: 34.56 kB / 409.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.527e-06/0.2134, allocations: 0 / 409.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001003/0.2144, allocations: 373 kB / 409.7 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.2144, allocations: 55.41 kB / 409.8 MB, free: 0.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2146, allocations: 262.9 kB / 410.1 MB, free: 364 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2147, allocations: 29.7 kB / 410.1 MB, free: 328 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2148, allocations: 200.4 kB / 410.3 MB, free: 124 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.2148, allocations: 51.58 kB / 410.3 MB, free: 72 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2149, allocations: 57.67 kB / 410.4 MB, free: 8 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2151, allocations: 342.8 kB / 410.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.2151, allocations: 35.97 kB / 410.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.2153, allocations: 212.5 kB / 411 MB, free: 15.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.2155, allocations: 220.2 kB / 411.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2155, allocations: 7.938 kB / 411.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002513/0.2157, allocations: 199.4 kB / 411.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2158, allocations: 8.469 kB / 411.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2158, allocations: 4 kB / 411.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2158, allocations: 8 kB / 411.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.216, allocations: 75.83 kB / 411.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.216, allocations: 4 kB / 411.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2161, allocations: 43.75 kB / 411.5 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2161, allocations: 12 kB / 411.5 MB, free: 14.73 MB / 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.0001276/0.2163, allocations: 128.5 kB / 411.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.2163, allocations: 23.97 kB / 411.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006291/0.2169, allocations: 0.7004 MB / 412.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.217, allocations: 15.97 kB / 412.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.217, allocations: 0 / 412.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.217, allocations: 4 kB / 412.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.2174, allocations: 369.9 kB / 412.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2174, allocations: 0 / 412.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2175, allocations: 39.97 kB / 412.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.2176, allocations: 67.39 kB / 412.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2176, allocations: 0 / 412.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2176, allocations: 4 kB / 412.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2176, allocations: 4 kB / 412.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2176, allocations: 4 kB / 412.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.218, allocations: 432.5 kB / 413.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.218, allocations: 19.84 kB / 413.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.2181, allocations: 11.98 kB / 413.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.2182, allocations: 23.97 kB / 413.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2182, allocations: 7.984 kB / 413.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2183, allocations: 156.7 kB / 413.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2183, allocations: 0 / 413.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002817/0.2211, allocations: 0.8655 MB / 414.4 MB, free: 11.82 MB / 410.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.004029/0.2252, allocations: 1.17 MB / 415.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.2255, allocations: 177.9 kB / 415.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/0.2256, allocations: 8 kB / 415.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.2257, allocations: 94.7 kB / 415.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.2262, allocations: 229.7 kB / 416.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.2306, allocations: 0.9392 MB / 417 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2307, allocations: 142.6 kB / 417.1 MB, free: 9.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.2309, allocations: 165 kB / 417.3 MB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.2312, allocations: 173.2 kB / 417.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2312, allocations: 0 / 417.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of Templates: time 0.2587/0.4899, allocations: 38.61 MB / 456.1 MB, free: 113.2 MB / 426.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.814901068806648]