Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001883/0.001883, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002285/0.002285, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.2372/0.2372, allocations: 46.93 MB / 361.6 MB, free: 4.312 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 71.83 kB / 0.4975 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3696, allocations: 66.02 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003611/0.3732, allocations: 1.747 MB / 0.5636 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3751, allocations: 1.045 MB / 0.5647 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.3752, allocations: 3.938 kB / 0.5647 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3755, allocations: 43.77 kB / 0.5647 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.3758, allocations: 91.59 kB / 0.5648 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.376, allocations: 75.69 kB / 0.5649 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3762, allocations: 111.7 kB / 0.565 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3763, allocations: 8 kB / 0.565 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3764, allocations: 47.72 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.3765, allocations: 35.8 kB / 0.5651 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3765, allocations: 7.984 kB / 0.5651 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3766, allocations: 39.98 kB / 0.5651 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3767, allocations: 19.92 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3768, allocations: 35.73 kB / 0.5652 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.377, allocations: 121.9 kB / 0.5653 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.377, allocations: 3.938 kB / 0.5653 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.377, allocations: 0 / 0.5653 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.377, allocations: 4 kB / 0.5653 GB, free: 0.9688 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.0005863/0.3776, allocations: 333.6 kB / 0.5656 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3776, allocations: 16.02 kB / 0.5656 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3777, allocations: 12.84 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.378, allocations: 158.2 kB / 0.5658 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.378, allocations: 384 / 0.5658 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.378, allocations: 8.125 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3782, allocations: 57.67 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3782, allocations: 7.938 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3782, allocations: 0 / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3782, allocations: 0 / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.3783, allocations: 23.98 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3786, allocations: 252 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3789, allocations: 54.67 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3789, allocations: 24.8 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3789, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3791, allocations: 67.38 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.3791, allocations: 0 / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.3797, allocations: 185.3 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3797, allocations: 51.41 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3799, allocations: 183.3 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3799, allocations: 33.64 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.38, allocations: 104.1 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.38, allocations: 19.86 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3801, allocations: 25.7 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3802, allocations: 326.8 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.3803, allocations: 16 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.3804, allocations: 41.7 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3805, allocations: 61.64 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3805, allocations: 0 / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.3807, allocations: 113.6 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3807, allocations: 6.656 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3807, allocations: 0 / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3807, allocations: 0 / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.3808, allocations: 20.03 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3808, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.3809, allocations: 11.92 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3809, allocations: 4 kB / 0.5674 GB, free: 14.6 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.0001049/0.381, allocations: 117.8 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.381, allocations: 11.89 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3812, allocations: 126.9 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3813, allocations: 0 / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3813, allocations: 4 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3813, allocations: 3.938 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3817, allocations: 362.8 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3817, allocations: 3.984 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.3818, allocations: 12 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3818, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3818, allocations: 3.938 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3818, allocations: 4 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3818, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.382, allocations: 204.3 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.3821, allocations: 15.89 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.3821, allocations: 3.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3822, allocations: 8 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3822, allocations: 7.969 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3822, allocations: 4 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3823, allocations: 142.2 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3826, allocations: 27.92 kB / 0.5684 GB, free: 13.46 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.001709/0.3843, allocations: 468.2 kB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3845, allocations: 59.89 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3845, allocations: 0 / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.3846, allocations: 23.94 kB / 0.5689 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3849, allocations: 32.84 kB / 0.569 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3855, allocations: 249.1 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3858, allocations: 0.7002 MB / 0.5699 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3859, allocations: 23.42 kB / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3859, allocations: 0 / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.004082/0.39, allocations: 1.937 MB / 0.5718 GB, free: 10.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: 8.06242723716423]