Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002237/0.002237, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2301/0.2301, allocations: 46.9 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 87.88 kB / 0.4968 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.379, allocations: 65.99 MB / 0.5613 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003093/0.3821, allocations: 1.748 MB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3849, allocations: 1.73 MB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.3849, allocations: 0 / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.3853, allocations: 31.8 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.3856, allocations: 99.53 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3859, allocations: 87.66 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.3861, allocations: 107.7 kB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3862, allocations: 8 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3863, allocations: 43.78 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3864, allocations: 47.77 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3865, allocations: 4 kB / 0.5651 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.3867, allocations: 111.9 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.3868, allocations: 23.86 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.3868, allocations: 35.78 kB / 0.5653 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3871, allocations: 166.2 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3871, allocations: 0 / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3871, allocations: 4 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3871, allocations: 4 kB / 0.5654 GB, free: 0.7422 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.0006576/0.3878, allocations: 426.6 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3878, allocations: 12.03 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.3879, allocations: 12.84 kB / 0.5659 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3882, allocations: 216.1 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3882, allocations: 384 / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3883, allocations: 16.11 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3885, allocations: 75.33 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3885, allocations: 3.938 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3885, allocations: 4 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3885, allocations: 0 / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.3886, allocations: 15.98 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.389, allocations: 288.8 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3892, allocations: 58.67 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3892, allocations: 16.86 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3892, allocations: 3.984 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3894, allocations: 71.33 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.3894, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005721/0.39, allocations: 177.3 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.39, allocations: 81.09 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3902, allocations: 162.5 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3903, allocations: 29.7 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.3903, allocations: 96.14 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3904, allocations: 27.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3904, allocations: 17.72 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3906, allocations: 330.8 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.3906, allocations: 23.98 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.3907, allocations: 38.56 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3908, allocations: 69.7 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3908, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.391, allocations: 93.62 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.391, allocations: 14.41 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3911, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3911, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.3912, allocations: 19.92 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3912, allocations: 4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.3912, allocations: 7.938 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3912, allocations: 4 kB / 0.5677 GB, free: 14.12 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.000109/0.3913, allocations: 121.8 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3914, allocations: 11.94 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3916, allocations: 118.3 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3916, allocations: 384 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3916, allocations: 4.172 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3916, allocations: 3.938 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.3921, allocations: 411.1 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3921, allocations: 0 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.3922, allocations: 8 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3922, allocations: 4.031 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3922, allocations: 3.938 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3922, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3922, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3925, allocations: 204.3 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3925, allocations: 81.06 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3925, allocations: 11.94 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.3926, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.3926, allocations: 7.984 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3927, allocations: 4 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3928, allocations: 127.9 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3928, allocations: 4 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.3931, allocations: 47.86 kB / 0.5689 GB, free: 12.86 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.001982/0.3951, allocations: 0.5348 MB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3953, allocations: 59.89 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3953, allocations: 0 / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.3954, allocations: 27.94 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3957, allocations: 32.27 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.3962, allocations: 222.8 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3965, allocations: 0.6963 MB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.3966, allocations: 12.88 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.3966, allocations: 27.42 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3966, allocations: 7.938 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005974/0.4026, allocations: 2.374 MB / 0.5728 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.221324346028268]