Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001782/0.001782, allocations: 83.38 kB / 20.68 MB, free: 1.023 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.002238/0.002238, allocations: 168.2 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.626/1.626, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.2309/0.2309, allocations: 34.29 MB / 294.9 MB, free: 14.56 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.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.081e-05, allocations: 2.281 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003724/0.003754, allocations: 1.711 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.005679, allocations: 0.9703 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.005759, allocations: 0 / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.006077, allocations: 47.69 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.006428, allocations: 91.55 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.006654, allocations: 79.59 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.006849, allocations: 115.6 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.006942, allocations: 4 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.007057, allocations: 63.81 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.007153, allocations: 19.92 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.007176, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.007279, allocations: 47.91 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.007353, allocations: 19.92 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.007408, allocations: 23.88 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.00764, allocations: 119.5 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.007644, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007645, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.00765, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006154/0.008266, allocations: 349.5 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.008304, allocations: 12.03 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.008355, allocations: 12.84 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.008663, allocations: 150.3 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.008678, allocations: 384 / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.008701, allocations: 8.312 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.008872, allocations: 54.23 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.008888, allocations: 7.922 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.008899, allocations: 0 / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.008905, allocations: 4 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.008992, allocations: 23.97 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.009383, allocations: 232.6 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.009586, allocations: 58.62 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.009649, allocations: 24.78 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.009667, allocations: 0 / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.009829, allocations: 71.38 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.00983, allocations: 0 / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006133/0.01044, allocations: 181.3 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.0105, allocations: 63.39 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01072, allocations: 202.2 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01074, allocations: 29.64 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.01082, allocations: 104.1 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.01085, allocations: 23.8 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.01089, allocations: 21.72 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2195/0.2304, allocations: 323.4 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.2306, allocations: 22.39 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2307, allocations: 38.77 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2308, allocations: 61.62 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2309, allocations: 0 / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003495/0.2312, allocations: 107.4 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.2312, allocations: 6.156 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.2312, allocations: 6.625 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.2313, allocations: 1.125 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2314, allocations: 21.55 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2314, allocations: 5.781 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.2315, allocations: 6.125 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2315, allocations: 3.25 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001366/0.2316, allocations: 124.6 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.2317, allocations: 14.86 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.232, allocations: 119.4 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.232, allocations: 4.156 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.232, allocations: 3.938 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.232, allocations: 1.656 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.2326, allocations: 352.7 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2326, allocations: 0 / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.2326, allocations: 14.09 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2327, allocations: 1.094 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.2327, allocations: 6.781 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2327, allocations: 1.719 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2327, allocations: 0 / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.233, allocations: 213.6 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.233, allocations: 11.56 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.233, allocations: 9.594 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.2331, allocations: 4.016 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.2332, allocations: 10.25 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2332, allocations: 4.156 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2333, allocations: 155.6 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2333, allocations: 1.125 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.2337, allocations: 26.64 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001892/0.2355, allocations: 0.4935 MB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2358, allocations: 55.97 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2358, allocations: 0 / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.2359, allocations: 38.52 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2363, allocations: 23.19 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.237, allocations: 240.8 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2371, allocations: 101.7 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.2372, allocations: 13.41 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.2372, allocations: 16.27 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2372, allocations: 0 / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.006241/0.2435, allocations: 1.841 MB / 452.1 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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: 5.195145890116692]