Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.001492/0.001492, allocations: 112.4 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.001851/0.001851, allocations: 205.6 kB / 24.46 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.496/1.496, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2381/0.2381, 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54") [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.002515/0.002515, allocations: 87.84 kB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3325, allocations: 65.99 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003216/0.3357, allocations: 1.733 MB / 0.563 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3376, allocations: 1.053 MB / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.3376, allocations: 0 / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3379, allocations: 55.69 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3383, allocations: 95.61 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.3385, allocations: 83.66 kB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3387, allocations: 99.69 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.3387, allocations: 15.92 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.3388, allocations: 43.78 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3389, allocations: 27.86 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3389, allocations: 4 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.339, allocations: 43.97 kB / 0.5645 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.3391, allocations: 23.92 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3391, allocations: 39.67 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3394, allocations: 142.2 kB / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3394, allocations: 0 / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3394, allocations: 0 / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3394, allocations: 0 / 0.5647 GB, free: 1.535 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.0006157/0.34, allocations: 442.5 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.34, allocations: 8.031 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.3401, allocations: 8.891 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3404, allocations: 224.9 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3404, allocations: 384 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3404, allocations: 8.375 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3406, allocations: 61.92 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3406, allocations: 3.938 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3406, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3406, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.3407, allocations: 23.98 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3411, allocations: 296.8 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3413, allocations: 58.61 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.3413, allocations: 20.84 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3413, allocations: 7.984 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.3415, allocations: 63.39 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3415, allocations: 0 / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.3421, allocations: 181.4 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3421, allocations: 55.41 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3424, allocations: 231 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3424, allocations: 33.7 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.3425, allocations: 108.1 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3425, allocations: 27.78 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3426, allocations: 21.72 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3427, allocations: 334.8 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.3428, allocations: 23.98 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.3429, allocations: 41.58 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.343, allocations: 57.78 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.343, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3432, allocations: 113.4 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3432, allocations: 8.031 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3432, allocations: 4 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3432, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.3433, allocations: 15.98 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3433, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.3434, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3434, allocations: 4 kB / 0.567 GB, free: 14.86 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.0001255/0.3435, allocations: 137.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3435, allocations: 11.91 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.3438, allocations: 119.1 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3438, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3438, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3438, allocations: 4 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.3443, allocations: 403.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3443, allocations: 384 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.3444, allocations: 8 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3444, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3444, allocations: 16.03 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3444, allocations: 3.938 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3444, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.3446, allocations: 208.2 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.3447, allocations: 85.02 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3447, allocations: 8 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.3448, allocations: 3.938 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3448, allocations: 11.98 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3449, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.345, allocations: 176.4 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 0 / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3453, allocations: 27.94 kB / 0.5682 GB, free: 13.54 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.001771/0.3471, allocations: 470.2 kB / 0.5687 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3473, allocations: 59.95 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3473, allocations: 0 / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.3474, allocations: 27.92 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3477, allocations: 33.12 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.3483, allocations: 279.2 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.3487, allocations: 0.7157 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.3487, allocations: 16.81 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.3488, allocations: 15.44 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3488, allocations: 4 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005105/0.3539, allocations: 1.776 MB / 0.5715 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.032600174192339]