Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001276/0.001276, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00153/0.00153, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.93 MB / 359.6 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.89 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 65.47 MB / 0.5583 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003581/0.366, allocations: 1.744 MB / 0.56 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3682, allocations: 0.9754 MB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3683, allocations: 4 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.3688, allocations: 107.7 kB / 0.561 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.3693, allocations: 127.5 kB / 0.5612 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3695, allocations: 87.66 kB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.3698, allocations: 139.6 kB / 0.5614 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3699, allocations: 13.58 kB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.37, allocations: 59.77 kB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3702, allocations: 75.73 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3702, allocations: 8 kB / 0.5615 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3704, allocations: 71.89 kB / 0.5616 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.3704, allocations: 35.86 kB / 0.5616 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.3705, allocations: 39.73 kB / 0.5617 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3708, allocations: 165.7 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3708, allocations: 0 / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3708, allocations: 0 / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3708, allocations: 4 kB / 0.5618 GB, free: 3.809 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006792/0.3715, allocations: 389.2 kB / 0.5622 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3716, allocations: 8.031 kB / 0.5622 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.3716, allocations: 28.83 kB / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.372, allocations: 155.3 kB / 0.5624 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.372, allocations: 8.375 kB / 0.5624 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.372, allocations: 12.12 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3722, allocations: 73.64 kB / 0.5625 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3722, allocations: 3.953 kB / 0.5625 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3722, allocations: 15.92 kB / 0.5625 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3722, allocations: 0 / 0.5625 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3724, allocations: 39.91 kB / 0.5625 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.3729, allocations: 276.4 kB / 0.5628 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3731, allocations: 74.53 kB / 0.5629 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.3732, allocations: 28.86 kB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3732, allocations: 11.92 kB / 0.5629 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3734, allocations: 71.39 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3734, allocations: 0 / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009177/0.3743, allocations: 317.3 kB / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3744, allocations: 59.34 kB / 0.5633 GB, free: 2.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3747, allocations: 267.7 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3747, allocations: 29.7 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.3748, allocations: 116.1 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.3748, allocations: 51.64 kB / 0.5638 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3749, allocations: 29.7 kB / 0.5638 GB, free: 1.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3751, allocations: 330.8 kB / 0.5641 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.3751, allocations: 39.97 kB / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3752, allocations: 57.64 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.3754, allocations: 109.6 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3754, allocations: 4 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002878/0.3757, allocations: 165.3 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3757, allocations: 14.47 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3758, allocations: 4 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3758, allocations: 0 / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3759, allocations: 24.09 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3759, allocations: 11.88 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.3759, allocations: 3.984 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3759, allocations: 8 kB / 0.5645 GB, free: 0.8438 MB / 398.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 (16): * Single equations (assignments): 16 * 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.0001382/0.3761, allocations: 137.8 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.3761, allocations: 19.86 kB / 0.5647 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.3765, allocations: 194.1 kB / 0.5649 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3765, allocations: 8 kB / 0.5649 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3765, allocations: 3.938 kB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3765, allocations: 0 / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.3772, allocations: 475.5 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3772, allocations: 4 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.3773, allocations: 19.98 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3773, allocations: 4 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3773, allocations: 4 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3773, allocations: 0 / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3773, allocations: 4.062 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3777, allocations: 285.6 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3777, allocations: 15.86 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3777, allocations: 4 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.3778, allocations: 4 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3778, allocations: 15.97 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3779, allocations: 8 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.378, allocations: 201.5 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.378, allocations: 0 / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.3783, allocations: 35.92 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002141/0.3805, allocations: 0.5554 MB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3808, allocations: 103.9 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3808, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3809, allocations: 55.91 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3813, allocations: 41.55 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.382, allocations: 378.5 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.3822, allocations: 115.2 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3822, allocations: 19.44 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3822, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Templates: time 0.005125/0.3873, allocations: 2.593 MB / 0.5697 GB, free: 11.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.01868161605671]