Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.00136/0.00136, allocations: 112.5 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.001685/0.001685, allocations: 205.9 kB / 24.49 MB, free: 4.148 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2349/0.2349, allocations: 44.91 MB / 359.6 MB, free: 6.305 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.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.0.0_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.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [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.00212/0.00212, allocations: 71.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003866/0.3455, allocations: 1.939 MB / 0.5602 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.348, allocations: 1.151 MB / 0.5613 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3481, allocations: 7.938 kB / 0.5614 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.3487, allocations: 223.4 kB / 0.5616 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.3493, allocations: 215.2 kB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3497, allocations: 119.7 kB / 0.5619 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.3501, allocations: 259.2 kB / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3502, allocations: 21.95 kB / 0.5622 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.3505, allocations: 131.5 kB / 0.5623 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3508, allocations: 171.4 kB / 0.5624 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3508, allocations: 8 kB / 0.5624 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.351, allocations: 67.92 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3511, allocations: 67.69 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3512, allocations: 87.3 kB / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3516, allocations: 241.2 kB / 0.5629 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3516, allocations: 4 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3516, allocations: 0 / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3516, allocations: 4 kB / 0.5629 GB, free: 3 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.0008546/0.3525, allocations: 0.5063 MB / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3525, allocations: 8.031 kB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.3526, allocations: 36.75 kB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.353, allocations: 226.5 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.353, allocations: 4.375 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3531, allocations: 16.12 kB / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3533, allocations: 118.2 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3534, allocations: 4 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3534, allocations: 0 / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3534, allocations: 0 / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3535, allocations: 43.97 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.3542, allocations: 455.7 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.3546, allocations: 117.2 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3547, allocations: 41.81 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3547, allocations: 4 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.355, allocations: 117.2 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.355, allocations: 3.938 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.3563, allocations: 0.5045 MB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.3564, allocations: 81.11 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.3569, allocations: 448.5 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3569, allocations: 33.7 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3571, allocations: 160.5 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.3572, allocations: 67.42 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3573, allocations: 45.7 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3574, allocations: 346.8 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3576, allocations: 51.98 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3577, allocations: 99.33 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.358, allocations: 163.5 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.358, allocations: 3.938 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000422/0.3585, allocations: 233.3 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3585, allocations: 10.91 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3585, allocations: 4 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3585, allocations: 0 / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3586, allocations: 43.92 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3587, allocations: 0 / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.3588, allocations: 23.88 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3588, allocations: 12 kB / 0.5668 GB, free: 14.79 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.0001787/0.3589, allocations: 178.3 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.359, allocations: 35.75 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.3595, allocations: 261.5 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3595, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3596, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3596, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.3605, allocations: 0.7068 MB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3605, allocations: 4 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.3606, allocations: 35.92 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3606, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3606, allocations: 4 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3606, allocations: 4 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3606, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.3611, allocations: 431.6 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.3612, allocations: 31.77 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.3612, allocations: 8 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3614, allocations: 11.98 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.3614, allocations: 23.91 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3615, allocations: 12 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.3618, allocations: 339 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3618, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3622, allocations: 51.92 kB / 0.5688 GB, free: 12.57 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.002061/0.3642, allocations: 0.5135 MB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.3646, allocations: 143.8 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3646, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3648, allocations: 83.72 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.3654, allocations: 69.75 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.3664, allocations: 0.5882 MB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.3668, allocations: 0.7792 MB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.3669, allocations: 31.42 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3669, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.006726/0.3736, allocations: 3.764 MB / 0.5747 GB, free: 6.746 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.314403674099594]