Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001555/0.001555, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.002185/0.002185, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2329/0.2329, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 0.4975 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3638, allocations: 66.03 MB / 0.5619 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003358/0.3672, allocations: 1.745 MB / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3699, allocations: 1.741 MB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.37, allocations: 3.938 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3703, allocations: 31.84 kB / 0.5654 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.3706, allocations: 107.5 kB / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.3708, allocations: 87.59 kB / 0.5656 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.371, allocations: 111.6 kB / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3711, allocations: 15.97 kB / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.3712, allocations: 43.8 kB / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3714, allocations: 47.83 kB / 0.5658 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3714, allocations: 4 kB / 0.5658 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3716, allocations: 115.9 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.3717, allocations: 23.92 kB / 0.5659 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.3718, allocations: 43.72 kB / 0.566 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3721, allocations: 169.8 kB / 0.5661 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3721, allocations: 8 kB / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3721, allocations: 0 / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3721, allocations: 0 / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006452/0.3727, allocations: 369.5 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3727, allocations: 12.03 kB / 0.5665 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.3728, allocations: 8.891 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.3731, allocations: 154.3 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3731, allocations: 4.375 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3732, allocations: 12.12 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3734, allocations: 83.31 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3734, allocations: 3.953 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3734, allocations: 0 / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3734, allocations: 0 / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.3735, allocations: 27.98 kB / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.3739, allocations: 263.9 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3741, allocations: 78.53 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.3741, allocations: 28.84 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3742, allocations: 0 / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3743, allocations: 71.45 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3743, allocations: 4 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005928/0.3749, allocations: 205.5 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.375, allocations: 77.11 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3752, allocations: 174.2 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3752, allocations: 25.7 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.3753, allocations: 100.1 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3753, allocations: 27.8 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.3754, allocations: 25.72 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3755, allocations: 330.8 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.3756, allocations: 28.02 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.3757, allocations: 50.5 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3758, allocations: 65.7 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3758, allocations: 0 / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002162/0.376, allocations: 117.6 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3761, allocations: 18.58 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3761, allocations: 0 / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3761, allocations: 0 / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.3762, allocations: 16 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3762, allocations: 0 / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.3762, allocations: 15.86 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3763, allocations: 4 kB / 0.5684 GB, free: 13.5 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 (11): * Single equations (assignments): 11 * 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.0001097/0.3764, allocations: 117.8 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3764, allocations: 15.98 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.3767, allocations: 130.3 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3767, allocations: 3.938 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3767, allocations: 0 / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3767, allocations: 3.938 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.3772, allocations: 386.3 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3772, allocations: 0 / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.3772, allocations: 15.94 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3772, allocations: 4.219 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3773, allocations: 11.94 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3773, allocations: 3.938 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3773, allocations: 4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3775, allocations: 216.3 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.3776, allocations: 11.91 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.3776, allocations: 11.94 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.3777, allocations: 7.984 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3777, allocations: 4 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3777, allocations: 11.98 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3778, allocations: 124.1 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.3781, allocations: 47.86 kB / 0.5695 GB, free: 12.3 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 (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.001961/0.3801, allocations: 0.5423 MB / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3803, allocations: 71.89 kB / 0.5701 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3803, allocations: 0 / 0.5701 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3804, allocations: 24.12 kB / 0.5701 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3808, allocations: 41.22 kB / 0.5702 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.3813, allocations: 245.1 kB / 0.5704 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3817, allocations: 0.7002 MB / 0.5711 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.3817, allocations: 23.42 kB / 0.5711 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3817, allocations: 0 / 0.5711 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Templates: time 0.004991/0.3867, allocations: 2.532 MB / 0.5736 GB, free: 8.289 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.109452449949458]