Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001657/0.001657, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001965/0.001965, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2334/0.2334, allocations: 44.92 MB / 358.8 MB, free: 6.059 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [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.0022/0.0022, allocations: 71.89 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3868, allocations: 65.48 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003201/0.39, allocations: 1.702 MB / 0.5592 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3918, allocations: 0.9637 MB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.3919, allocations: 3.938 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3922, allocations: 39.83 kB / 0.5602 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.3925, allocations: 99.47 kB / 0.5603 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3927, allocations: 79.69 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3929, allocations: 107.7 kB / 0.5604 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.393, allocations: 4 kB / 0.5604 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.3931, allocations: 43.78 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.3932, allocations: 35.78 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3932, allocations: 4 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.3933, allocations: 39.98 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.3934, allocations: 23.92 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3934, allocations: 27.8 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.3936, allocations: 121.9 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3936, allocations: 0 / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3936, allocations: 0 / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3936, allocations: 0 / 0.5607 GB, free: 4.148 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.0005508/0.3942, allocations: 337.6 kB / 0.5611 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3942, allocations: 8.031 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.3943, allocations: 12.89 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3945, allocations: 144 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3945, allocations: 8.375 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3946, allocations: 8.125 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3947, allocations: 57.66 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3947, allocations: 3.984 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3947, allocations: 4 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3947, allocations: 0 / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.3948, allocations: 23.92 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.3952, allocations: 236.5 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3953, allocations: 50.69 kB / 0.5616 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.3954, allocations: 24.84 kB / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3954, allocations: 3.938 kB / 0.5616 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3956, allocations: 71.33 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3956, allocations: 0 / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.3961, allocations: 185.3 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3962, allocations: 51.41 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3964, allocations: 174.2 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3964, allocations: 25.7 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3965, allocations: 104.1 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3965, allocations: 27.8 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3965, allocations: 25.7 kB / 0.5622 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3967, allocations: 326.8 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.3968, allocations: 16 kB / 0.5626 GB, free: 2.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.3968, allocations: 45.62 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.397, allocations: 61.66 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.397, allocations: 0 / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.3972, allocations: 113.6 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3972, allocations: 6.531 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.3972, allocations: 4 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3972, allocations: 0 / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.3973, allocations: 23.92 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3973, allocations: 0 / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3973, allocations: 384 / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3973, allocations: 4 kB / 0.5628 GB, free: 1.82 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 (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.0001133/0.3975, allocations: 132.6 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3975, allocations: 7.953 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3977, allocations: 122.3 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3977, allocations: 8 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3978, allocations: 4 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3978, allocations: 0 / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.3982, allocations: 346.9 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3982, allocations: 0 / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.3983, allocations: 8 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3983, allocations: 0 / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3983, allocations: 4 kB / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3983, allocations: 3.938 kB / 0.5634 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3983, allocations: 3.938 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3986, allocations: 224.2 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.3986, allocations: 11.91 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3986, allocations: 384 / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3987, allocations: 8 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3987, allocations: 11.92 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3987, allocations: 4 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3989, allocations: 140 kB / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3991, allocations: 27.94 kB / 0.5638 GB, free: 0.6992 MB / 398.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.001887/0.401, allocations: 483 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.4012, allocations: 59.91 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4012, allocations: 0 / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.4013, allocations: 35.98 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.4016, allocations: 42.86 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.4021, allocations: 219.2 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.4022, allocations: 93.25 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.4023, allocations: 8.984 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.4023, allocations: 27.48 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4023, allocations: 0 / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005263/0.4076, allocations: 1.89 MB / 0.5666 GB, free: 14.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.218966418877244]