Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001349/0.001349, 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.001523/0.001523, 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.556/1.556, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2426/0.2426, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") [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.002616/0.002616, allocations: 83.86 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.332, allocations: 65.98 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003649/0.3356, allocations: 1.94 MB / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3377, allocations: 1.143 MB / 0.5643 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3378, allocations: 7.938 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.3383, allocations: 227.4 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.3387, allocations: 215.2 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.339, allocations: 111.6 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.3393, allocations: 263.3 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3394, allocations: 20.5 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3396, allocations: 127.4 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3398, allocations: 171.5 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3399, allocations: 11.94 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.34, allocations: 63.98 kB / 0.5655 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.3401, allocations: 59.77 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.3402, allocations: 91.28 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.3405, allocations: 246.8 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3405, allocations: 3.984 kB / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3405, allocations: 0 / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3405, allocations: 0 / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008902/0.3414, allocations: 0.5717 MB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3414, allocations: 8.031 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.3415, allocations: 32.75 kB / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.342, allocations: 296.2 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.342, allocations: 4.375 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.342, allocations: 8.375 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3422, allocations: 114.9 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3423, allocations: 8 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3423, allocations: 0 / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3423, allocations: 7.922 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3424, allocations: 51.91 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.343, allocations: 476.8 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3434, allocations: 117.2 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3435, allocations: 45.83 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3435, allocations: 3.938 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3438, allocations: 117.1 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3438, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001339/0.3451, allocations: 0.5044 MB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3452, allocations: 81.05 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.3456, allocations: 456.5 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3457, allocations: 29.7 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3458, allocations: 164.4 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.3459, allocations: 71.41 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.3459, allocations: 41.7 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3461, allocations: 346.8 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3462, allocations: 55.97 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3464, allocations: 95.34 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.3467, allocations: 163.5 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3467, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004001/0.3471, allocations: 229.4 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3471, allocations: 8 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3471, allocations: 3.984 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3471, allocations: 11.81 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3472, allocations: 39.98 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3473, allocations: 5.172 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.3473, allocations: 11.95 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3474, allocations: 7.984 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001694/0.3475, allocations: 169.8 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3476, allocations: 35.8 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.3481, allocations: 268.2 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3481, allocations: 0 / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3481, allocations: 0 / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3481, allocations: 4 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3491, allocations: 0.7388 MB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3491, allocations: 0 / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.3492, allocations: 27.98 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3492, allocations: 4 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3492, allocations: 8 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3492, allocations: 7.922 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3492, allocations: 4 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.3498, allocations: 424.8 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.3498, allocations: 112.9 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3499, allocations: 4 kB / 0.5716 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3501, allocations: 16 kB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.3501, allocations: 23.91 kB / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.3501, allocations: 8 kB / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003434/0.3505, allocations: 335 kB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3505, allocations: 0 / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000353/0.3508, allocations: 47.92 kB / 0.572 GB, free: 9.551 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001922/0.3528, allocations: 0.5217 MB / 0.5725 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.3531, allocations: 152 kB / 0.5727 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3531, allocations: 0 / 0.5727 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3533, allocations: 75.84 kB / 0.5728 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.3539, allocations: 61.36 kB / 0.5728 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.3548, allocations: 0.5668 MB / 0.5734 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.3553, allocations: 0.7831 MB / 0.5741 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.3554, allocations: 37.94 kB / 0.5742 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.3554, allocations: 31.42 kB / 0.5742 GB, free: 7.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3554, allocations: 0 / 0.5742 GB, free: 7.461 MB / 414.1 MB Notification: Performance of Templates: time 0.007397/0.3628, allocations: 3.232 MB / 0.5774 GB, free: 4.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.134565561078489]