Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.00142/0.00142, 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.00154/0.00154, allocations: 209 kB / 24.47 MB, free: 3.941 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.2291/0.2291, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [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.002353/0.002353, allocations: 67.89 kB / 0.4943 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3926, allocations: 65.47 MB / 0.5583 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003554/0.3962, allocations: 1.724 MB / 0.5599 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3981, allocations: 0.9599 MB / 0.5609 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3982, allocations: 4 kB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3985, allocations: 35.77 kB / 0.5609 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.3989, allocations: 107.5 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3991, allocations: 83.61 kB / 0.5611 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3993, allocations: 107.7 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3994, allocations: 4 kB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.3995, allocations: 39.8 kB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3996, allocations: 35.83 kB / 0.5613 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3996, allocations: 4 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3997, allocations: 43.92 kB / 0.5613 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.3998, allocations: 23.92 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.3999, allocations: 27.8 kB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.4002, allocations: 129.8 kB / 0.5615 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4002, allocations: 3.984 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4002, allocations: 0 / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4002, allocations: 0 / 0.5615 GB, free: 4.105 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.0007128/0.4009, allocations: 341.6 kB / 0.5618 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4009, allocations: 8.031 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.401, allocations: 12.88 kB / 0.5618 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.4013, allocations: 158.9 kB / 0.562 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4013, allocations: 8.375 kB / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.4013, allocations: 4.125 kB / 0.562 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4015, allocations: 57.67 kB / 0.5621 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4015, allocations: 4 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4015, allocations: 0 / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4015, allocations: 0 / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.4016, allocations: 23.98 kB / 0.5621 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.402, allocations: 232.5 kB / 0.5623 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.4022, allocations: 58.67 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.4023, allocations: 20.84 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4023, allocations: 0 / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.4025, allocations: 75.33 kB / 0.5625 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4025, allocations: 0 / 0.5625 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006135/0.4031, allocations: 181.3 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.4031, allocations: 55.34 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.4034, allocations: 202.2 kB / 0.5629 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4034, allocations: 29.7 kB / 0.5629 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.4035, allocations: 108.1 kB / 0.563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.4035, allocations: 27.78 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.4036, allocations: 21.72 kB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4037, allocations: 322.8 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.4038, allocations: 27.98 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.4039, allocations: 41.64 kB / 0.5634 GB, free: 1.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.404, allocations: 69.62 kB / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.404, allocations: 0 / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.4042, allocations: 105.6 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4042, allocations: 6.812 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4042, allocations: 0 / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.4043, allocations: 4 kB / 0.5636 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4044, allocations: 19.97 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4044, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4044, allocations: 7.984 kB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4044, allocations: 0 / 0.5636 GB, free: 1.734 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.0001177/0.4046, allocations: 129.8 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.4046, allocations: 12.28 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.4049, allocations: 131.1 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4049, allocations: 4 kB / 0.5639 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4049, allocations: 0 / 0.5639 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4049, allocations: 8 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.4054, allocations: 342.9 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4054, allocations: 0 / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.4055, allocations: 15.98 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4055, allocations: 0 / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4055, allocations: 4 kB / 0.5642 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4055, allocations: 4 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4055, allocations: 3.938 kB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4057, allocations: 216.2 kB / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.4058, allocations: 7.953 kB / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.4058, allocations: 8.031 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.4059, allocations: 4.375 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.4059, allocations: 11.86 kB / 0.5645 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4059, allocations: 7.938 kB / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4061, allocations: 156.2 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 3.938 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4063, allocations: 23.94 kB / 0.5647 GB, free: 0.5781 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.001897/0.4082, allocations: 489.2 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4084, allocations: 55.92 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4084, allocations: 0 / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.4085, allocations: 31.92 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4089, allocations: 39.5 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.4095, allocations: 272.5 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.4096, allocations: 92.19 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.4096, allocations: 15.44 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4096, allocations: 0 / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Templates: time 0.00442/0.414, allocations: 1.996 MB / 0.5676 GB, free: 13.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.036482769064605]