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.00106/0.00106, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.00104/0.00104, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 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 0.9663/0.9663, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1388/0.1388, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 4 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.197e-05, allocations: 2.312 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02196/0.022, allocations: 14.44 MB / 362.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.03867, allocations: 12.73 MB / 374.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.03906, allocations: 11.88 kB / 374.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.03977, allocations: 135 kB / 375 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.04057, allocations: 290.2 kB / 375.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.05509, allocations: 5.538 MB / 380.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.05621, allocations: 0.8653 MB / 381.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.05667, allocations: 209.1 kB / 381.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.06025, allocations: 2.205 MB / 384.1 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.06065, allocations: 211.4 kB / 384.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.0607, allocations: 32 kB / 384.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009349/0.07005, allocations: 5.919 MB / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.07023, allocations: 91.66 kB / 390.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.07047, allocations: 135.8 kB / 390.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009576/0.08005, allocations: 4.537 MB / 395 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.08005, allocations: 0 / 395 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.08006, allocations: 0 / 395 MB, free: 9.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.08007, allocations: 4 kB / 395 MB, free: 9.961 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.002598/0.08266, allocations: 1.043 MB / 396 MB, free: 8.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.08272, allocations: 8.031 kB / 396 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.08373, allocations: 259.8 kB / 396.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.08414, allocations: 299.4 kB / 396.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.08417, allocations: 21.03 kB / 396.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.08421, allocations: 28.31 kB / 396.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.08507, allocations: 0.6277 MB / 397.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.08508, allocations: 192 / 397.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.08511, allocations: 15.94 kB / 397.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.08512, allocations: 8 kB / 397.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.08565, allocations: 294.5 kB / 397.6 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.08781, allocations: 2.222 MB / 399.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.08845, allocations: 282.8 kB / 400.1 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.08852, allocations: 39.95 kB / 400.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.1034, allocations: 8.492 MB / 408.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.1034, allocations: 45.38 kB / 408.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.805e-06/0.1034, allocations: 4 kB / 408.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.00104/0.1045, allocations: 415.7 kB / 409.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1045, allocations: 106.8 kB / 409.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1048, allocations: 318.2 kB / 409.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1048, allocations: 29.7 kB / 409.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1049, allocations: 266.6 kB / 409.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.105, allocations: 51.58 kB / 409.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.105, allocations: 63.31 kB / 409.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1052, allocations: 0.5157 MB / 410.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.1052, allocations: 47.94 kB / 410.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.1054, allocations: 272.8 kB / 410.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1057, allocations: 270.8 kB / 411 MB, free: 9.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1057, allocations: 0 / 411 MB, free: 9.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003577/0.106, allocations: 271.9 kB / 411.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1061, allocations: 4 kB / 411.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1061, allocations: 4 kB / 411.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1061, allocations: 8 kB / 411.3 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1063, allocations: 63.84 kB / 411.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1063, allocations: 8.469 kB / 411.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1064, allocations: 39.75 kB / 411.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1064, allocations: 12 kB / 411.4 MB, free: 9.062 MB / 346.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.000129/0.1065, allocations: 176.4 kB / 411.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1066, allocations: 35.81 kB / 411.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.1076, allocations: 0.75 MB / 412.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.1077, allocations: 15.98 kB / 412.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1077, allocations: 4 kB / 412.4 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1077, allocations: 3.984 kB / 412.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.1081, allocations: 483.5 kB / 412.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1081, allocations: 0 / 412.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.1082, allocations: 35.97 kB / 412.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1082, allocations: 4 kB / 412.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1082, allocations: 0 / 412.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1082, allocations: 0 / 412.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1082, allocations: 0 / 412.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.1086, allocations: 0.5239 MB / 413.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1087, allocations: 43.59 kB / 413.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1087, allocations: 31.78 kB / 413.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.1088, allocations: 11.98 kB / 413.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1089, allocations: 23.95 kB / 413.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1089, allocations: 4 kB / 413.5 MB, free: 6.855 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002078/0.1091, allocations: 307 kB / 413.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1091, allocations: 0 / 413.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002359/0.1114, allocations: 0.8616 MB / 414.7 MB, free: 5.691 MB / 346.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.003438/0.1149, allocations: 1.113 MB / 415.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.1153, allocations: 195.9 kB / 416 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1153, allocations: 0.9375 kB / 416 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1155, allocations: 136.6 kB / 416.1 MB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.1161, allocations: 166.4 kB / 416.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1176, allocations: 0.9274 MB / 417.2 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1177, allocations: 138.7 kB / 417.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.118, allocations: 186.6 kB / 417.5 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.1181, allocations: 32.5 kB / 417.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of SimCode: time 3.257e-06/0.1181, allocations: 0 / 417.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of Templates: time 0.1773/0.2954, allocations: 40.02 MB / 457.6 MB, free: 63.17 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.404868804849684]