Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001842/0.001842, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.00222/0.00222, allocations: 214 kB / 23.74 MB, free: 4.688 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.647/1.647, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.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.2709/0.2709, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.89 kB / 0.4967 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4669, allocations: 66.03 MB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004522/0.4714, allocations: 1.745 MB / 0.5629 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4736, allocations: 1.049 MB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.4737, allocations: 7.938 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.474, allocations: 43.77 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.4744, allocations: 91.61 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.4746, allocations: 83.66 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.4748, allocations: 103.6 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4749, allocations: 11.98 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.475, allocations: 47.72 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.4751, allocations: 35.84 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.4751, allocations: 4 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4753, allocations: 47.97 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.4753, allocations: 11.94 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.4754, allocations: 39.67 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.4757, allocations: 129.8 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4757, allocations: 0 / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4757, allocations: 0 / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.4757, allocations: 0 / 0.5646 GB, free: 0.9648 MB / 398.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.0007528/0.4765, allocations: 345.6 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4765, allocations: 8.031 kB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.4766, allocations: 8.891 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4769, allocations: 155 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.477, allocations: 8.375 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.477, allocations: 4.125 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.4772, allocations: 57.61 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4772, allocations: 7.984 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4772, allocations: 0 / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4772, allocations: 0 / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.4773, allocations: 19.98 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.4778, allocations: 259.9 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.478, allocations: 54.62 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.4781, allocations: 20.84 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4781, allocations: 7.984 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.4783, allocations: 67.39 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4783, allocations: 3.938 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006049/0.4789, allocations: 177.3 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4789, allocations: 55.41 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4791, allocations: 194.3 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4792, allocations: 29.7 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.4792, allocations: 104.1 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.4793, allocations: 23.8 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.4793, allocations: 29.7 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4795, allocations: 326.8 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.4796, allocations: 23.98 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4796, allocations: 41.59 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.4797, allocations: 54.08 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4797, allocations: 4 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.48, allocations: 109.5 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.48, allocations: 4 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.48, allocations: 4 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.48, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.4801, allocations: 16 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4801, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.4802, allocations: 7.922 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.4802, allocations: 4 kB / 0.5667 GB, free: 14.58 MB / 414.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.0001243/0.4803, allocations: 129.8 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.4803, allocations: 15.91 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.4806, allocations: 115.2 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4806, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4806, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4806, allocations: 11.92 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.4811, allocations: 362.4 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4811, allocations: 8.031 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.4812, allocations: 4 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4812, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4812, allocations: 7.875 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4812, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4812, allocations: 4 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4815, allocations: 208.2 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.4815, allocations: 11.95 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4815, allocations: 3.938 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.4816, allocations: 4 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4816, allocations: 7.984 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4816, allocations: 4 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.4818, allocations: 152.2 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4818, allocations: 0 / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4821, allocations: 23.94 kB / 0.5677 GB, free: 13.43 MB / 414.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 (8): * Single equations (assignments): 6 * 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.001857/0.4839, allocations: 468.1 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.4841, allocations: 47.98 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4841, allocations: 0 / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.4842, allocations: 39.97 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4846, allocations: 28.73 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.4851, allocations: 242.6 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4856, allocations: 0.7002 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.4857, allocations: 21.33 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.4857, allocations: 19.38 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4857, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.006655/0.4923, allocations: 1.769 MB / 0.571 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.86949213501066]