Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001296/0.001296, allocations: 84.55 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.001415/0.001415, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.498/1.498, 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.2212/0.2212, allocations: 34.28 MB / 295 MB, free: 14.57 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.543e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003379/0.003414, allocations: 1.673 MB / 444.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.00542, allocations: 0.9615 MB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.00551, allocations: 0 / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.005817, allocations: 55.69 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.006224, allocations: 107.5 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.006465, allocations: 71.69 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.00668, allocations: 103.6 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.00673, allocations: 8.172 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.006862, allocations: 43.91 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.006948, allocations: 27.89 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.00697, allocations: 4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.007073, allocations: 43.88 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.007144, allocations: 23.86 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.007197, allocations: 27.91 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.007446, allocations: 119.6 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007449, allocations: 0 / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00745, allocations: 0 / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.007455, allocations: 0 / 446 MB, free: 2.027 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006137/0.008069, allocations: 361.4 kB / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.008105, allocations: 11.97 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.008164, allocations: 16.83 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.008424, allocations: 166.5 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.008439, allocations: 384 / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.008457, allocations: 4.375 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.008605, allocations: 50.17 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.008616, allocations: 3.938 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.008625, allocations: 0 / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.008631, allocations: 7.938 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.008705, allocations: 15.98 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.008907, allocations: 141.3 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.009088, allocations: 50.62 kB / 446.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.009154, allocations: 24.78 kB / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.00917, allocations: 0 / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.009327, allocations: 67.39 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.009328, allocations: 0 / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003299/0.009658, allocations: 105.5 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.009703, allocations: 51.41 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.009998, allocations: 275 kB / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.01002, allocations: 25.7 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.0101, allocations: 120.1 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.01013, allocations: 19.84 kB / 447.5 MB, free: 396 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.01018, allocations: 21.7 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01032, allocations: 322.8 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.01038, allocations: 19.98 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2291/0.2395, allocations: 26.23 kB / 447.9 MB, free: 19.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2397, allocations: 46.05 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2397, allocations: 0 / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001966/0.2399, allocations: 88.88 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2399, allocations: 11.09 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2399, allocations: 2.938 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2399, allocations: 1.438 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.24, allocations: 16.5 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.24, allocations: 1.797 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.2401, allocations: 2.781 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2401, allocations: 2.188 kB / 448.1 MB, free: 19.12 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 (7): * Single equations (assignments): 7 * 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.0001045/0.2402, allocations: 138.5 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.2402, allocations: 15.95 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.2404, allocations: 105.3 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2404, allocations: 1.938 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2405, allocations: 0 / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2405, allocations: 2.109 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2406, allocations: 148.1 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2406, allocations: 1.156 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.2406, allocations: 14.25 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2406, allocations: 0 / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2406, allocations: 1.641 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2406, allocations: 1.312 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2406, allocations: 0.75 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2408, allocations: 122.2 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2408, allocations: 15.22 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.2408, allocations: 2.234 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.2409, allocations: 2.781 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.2409, allocations: 9.781 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2409, allocations: 5.609 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.2411, allocations: 205.1 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2411, allocations: 0 / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.2414, allocations: 22.95 kB / 448.9 MB, free: 18.71 MB / 366.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: 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 (6): * Single equations (assignments): 4 * 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.001582/0.2429, allocations: 437.3 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.2431, allocations: 46.81 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2431, allocations: 1.094 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.2432, allocations: 19.28 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2435, allocations: 37.03 kB / 449.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.2439, allocations: 271.1 kB / 449.6 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.244, allocations: 102.2 kB / 449.7 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.2441, allocations: 11.58 kB / 449.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2441, allocations: 16.22 kB / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2441, allocations: 0 / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005264/0.2494, allocations: 1.658 MB / 451.4 MB, free: 18.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.018921494483948]