Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001602/0.001602, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00182/0.00182, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2208/0.2208, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [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.002092/0.002092, allocations: 67.91 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 65.47 MB / 0.5583 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004674/0.3517, allocations: 1.936 MB / 0.5602 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.355, allocations: 1.159 MB / 0.5613 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.3551, allocations: 7.938 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.3558, allocations: 251.3 kB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.3565, allocations: 239.2 kB / 0.5618 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.357, allocations: 119.6 kB / 0.5619 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.3575, allocations: 271.2 kB / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3577, allocations: 21.95 kB / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.3579, allocations: 135.5 kB / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3583, allocations: 215.4 kB / 0.5626 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.3584, allocations: 12 kB / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3586, allocations: 59.98 kB / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3587, allocations: 71.69 kB / 0.5627 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3589, allocations: 99.17 kB / 0.5628 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.3594, allocations: 253.2 kB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3594, allocations: 4 kB / 0.563 GB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3594, allocations: 0 / 0.563 GB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3594, allocations: 0 / 0.563 GB, free: 2.824 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001081/0.3605, allocations: 0.5273 MB / 0.5635 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3605, allocations: 12.03 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.3606, allocations: 28.75 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.3612, allocations: 232.9 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3612, allocations: 12.38 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3612, allocations: 8.125 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3616, allocations: 114.4 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3616, allocations: 0 / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3616, allocations: 12 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3616, allocations: 0 / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3618, allocations: 47.94 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.3627, allocations: 455.8 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.3632, allocations: 121.2 kB / 0.5645 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3633, allocations: 37.83 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3634, allocations: 4 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.3637, allocations: 129.2 kB / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.634e-06/0.3637, allocations: 0 / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001875/0.3656, allocations: 0.5052 MB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.3656, allocations: 81.11 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.3665, allocations: 0.4938 MB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3666, allocations: 33.64 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3667, allocations: 172.5 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.3668, allocations: 71.44 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.3669, allocations: 41.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3671, allocations: 350.8 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3673, allocations: 55.97 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3675, allocations: 91.34 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3679, allocations: 163.3 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3679, allocations: 0 / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005629/0.3685, allocations: 241.4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3685, allocations: 11.94 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3685, allocations: 4.062 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3686, allocations: 0 / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3688, allocations: 47.91 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3688, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3689, allocations: 12 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3689, allocations: 12 kB / 0.567 GB, free: 14.5 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.0002507/0.3692, allocations: 170.3 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3693, allocations: 43.69 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.3701, allocations: 272.6 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3701, allocations: 4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3701, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3701, allocations: 3.984 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.3716, allocations: 0.7145 MB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3716, allocations: 4 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3717, allocations: 35.92 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3717, allocations: 0 / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3717, allocations: 4 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.3718, allocations: 7.984 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3718, allocations: 0 / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.3725, allocations: 431.7 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.3726, allocations: 35.81 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.3727, allocations: 11.98 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3729, allocations: 4 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.373, allocations: 27.91 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.373, allocations: 11.94 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000647/0.3737, allocations: 375.1 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3737, allocations: 0 / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.3744, allocations: 51.94 kB / 0.5691 GB, free: 12.21 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.002923/0.3773, allocations: 0.5119 MB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.3779, allocations: 147.8 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3779, allocations: 3.938 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.3781, allocations: 75.84 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.3791, allocations: 64.22 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3807, allocations: 0.6431 MB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.3814, allocations: 0.7831 MB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3815, allocations: 31.44 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3815, allocations: 0 / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of Templates: time 0.01023/0.3917, allocations: 3.884 MB / 0.5751 GB, free: 6.227 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.064186635892838]