Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001682/0.001682, 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.002314/0.002314, allocations: 210 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2807/0.2807, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [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.002177/0.002177, allocations: 71.89 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3855, allocations: 65.48 MB / 0.5583 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00318/0.3887, allocations: 1.71 MB / 0.5599 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.3914, allocations: 1.665 MB / 0.5616 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.3915, allocations: 0 / 0.5616 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3918, allocations: 35.77 kB / 0.5616 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.3921, allocations: 103.5 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3923, allocations: 79.67 kB / 0.5618 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3925, allocations: 103.7 kB / 0.5619 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.3926, allocations: 15.92 kB / 0.5619 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.3927, allocations: 43.8 kB / 0.5619 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3928, allocations: 43.83 kB / 0.562 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3928, allocations: 8 kB / 0.562 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.393, allocations: 95.94 kB / 0.5621 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.3931, allocations: 23.86 kB / 0.5621 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.3931, allocations: 31.78 kB / 0.5621 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3935, allocations: 173.8 kB / 0.5623 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3935, allocations: 0 / 0.5623 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3935, allocations: 0 / 0.5623 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3935, allocations: 0 / 0.5623 GB, free: 3.34 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.0006238/0.3941, allocations: 349.5 kB / 0.5626 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3941, allocations: 12.03 kB / 0.5626 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3942, allocations: 16.84 kB / 0.5626 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3945, allocations: 153.7 kB / 0.5628 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3945, allocations: 7.938 kB / 0.5628 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3946, allocations: 4 kB / 0.5628 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3948, allocations: 97.09 kB / 0.5629 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3948, allocations: 3.984 kB / 0.5629 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3948, allocations: 0 / 0.5629 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3948, allocations: 4 kB / 0.5629 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.3949, allocations: 15.98 kB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.3953, allocations: 240.5 kB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3954, allocations: 58.67 kB / 0.5632 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.3955, allocations: 20.84 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3955, allocations: 0 / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3957, allocations: 75.31 kB / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3957, allocations: 0 / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005922/0.3963, allocations: 181.3 kB / 0.5635 GB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3964, allocations: 77.11 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3966, allocations: 176 kB / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3966, allocations: 29.69 kB / 0.5637 GB, free: 1.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.3966, allocations: 100.1 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3967, allocations: 27.73 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3967, allocations: 25.72 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3969, allocations: 322.8 kB / 0.5642 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.3969, allocations: 23.98 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.397, allocations: 68.27 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.3972, allocations: 65.64 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3972, allocations: 4.031 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3974, allocations: 97.61 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3974, allocations: 8 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3974, allocations: 0 / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3974, allocations: 3.938 kB / 0.5644 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.3975, allocations: 15.94 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3975, allocations: 4 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.3976, allocations: 11.92 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3976, allocations: 4 kB / 0.5645 GB, free: 0.8711 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.0001064/0.3977, allocations: 121.9 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3977, allocations: 7.953 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.398, allocations: 122.3 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.398, allocations: 0 / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.398, allocations: 384 / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.398, allocations: 7.922 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.3984, allocations: 343 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3984, allocations: 4 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3985, allocations: 15.98 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3985, allocations: 4.031 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3985, allocations: 3.938 kB / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3985, allocations: 7.938 kB / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3985, allocations: 0 / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3988, allocations: 220.5 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3988, allocations: 11.91 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3989, allocations: 7.938 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3989, allocations: 0 / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.399, allocations: 11.98 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.399, allocations: 4 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3991, allocations: 134.9 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3991, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.3994, allocations: 51.86 kB / 0.5655 GB, free: 15.74 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.002125/0.4015, allocations: 0.5784 MB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4018, allocations: 67.91 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4018, allocations: 0 / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.4018, allocations: 27.92 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.4022, allocations: 31.53 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.4027, allocations: 236.4 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.4028, allocations: 81.33 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.4029, allocations: 35.48 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4029, allocations: 0 / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004843/0.4077, allocations: 2.436 MB / 0.5689 GB, free: 12.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.302689921110868]