Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 195 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 252.1 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.91 MB / 352.1 MB, free: 12.29 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 75.88 kB / 495.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 64.24 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003376/0.3561, allocations: 1.715 MB / 0.5485 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3576, allocations: 0.8778 MB / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3577, allocations: 5.125 kB / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.358, allocations: 39.05 kB / 0.5494 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3583, allocations: 61.47 kB / 0.5495 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3586, allocations: 103.6 kB / 0.5496 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3588, allocations: 101.9 kB / 0.5497 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.3588, allocations: 4.453 kB / 0.5497 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.3589, allocations: 44.06 kB / 0.5497 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.359, allocations: 41.38 kB / 0.5498 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.359, allocations: 3.5 kB / 0.5498 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3591, allocations: 42.86 kB / 0.5498 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.3592, allocations: 22.95 kB / 0.5498 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.3593, allocations: 39.94 kB / 0.5499 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3595, allocations: 106.1 kB / 0.55 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3595, allocations: 0 / 0.55 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3595, allocations: 3.938 kB / 0.55 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3595, allocations: 1.219 kB / 0.55 GB, free: 10.79 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.0006329/0.3601, allocations: 418.9 kB / 0.5504 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3602, allocations: 10.03 kB / 0.5504 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.3602, allocations: 9.047 kB / 0.5504 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.3605, allocations: 211.7 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3606, allocations: 5.781 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3606, allocations: 7 kB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3607, allocations: 54.05 kB / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3607, allocations: 0 / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3608, allocations: 5.188 kB / 0.5507 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3608, allocations: 0 / 0.5507 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.3608, allocations: 19.14 kB / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3612, allocations: 294.2 kB / 0.5509 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3614, allocations: 52.42 kB / 0.551 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.3615, allocations: 23.53 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3615, allocations: 1.344 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.3616, allocations: 69.17 kB / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3616, allocations: 0 / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.3621, allocations: 177.9 kB / 0.5513 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3622, allocations: 52.69 kB / 0.5513 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3624, allocations: 183.9 kB / 0.5515 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3624, allocations: 27.27 kB / 0.5515 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3625, allocations: 100.6 kB / 0.5516 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3625, allocations: 28.25 kB / 0.5516 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.3625, allocations: 27.81 kB / 0.5517 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3627, allocations: 331.2 kB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.3627, allocations: 17.98 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.3628, allocations: 35.23 kB / 0.552 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3629, allocations: 62.84 kB / 0.5521 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3629, allocations: 0.8438 kB / 0.5521 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.3631, allocations: 114.9 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3632, allocations: 5.188 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3632, allocations: 1.094 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3632, allocations: 1.344 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3633, allocations: 21.36 kB / 0.5522 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3633, allocations: 0 / 0.5522 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3633, allocations: 6.219 kB / 0.5522 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3633, allocations: 2.969 kB / 0.5522 GB, free: 8.633 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.0001146/0.3634, allocations: 138.2 kB / 0.5524 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3635, allocations: 17.73 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.3637, allocations: 110.5 kB / 0.5525 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3637, allocations: 1.375 kB / 0.5525 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3637, allocations: 4 kB / 0.5525 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3637, allocations: 5.469 kB / 0.5525 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.3642, allocations: 388.3 kB / 0.5529 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3642, allocations: 5.25 kB / 0.5529 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.3643, allocations: 7.938 kB / 0.5529 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3643, allocations: 1 kB / 0.5529 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3643, allocations: 5.125 kB / 0.5529 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3643, allocations: 1.094 kB / 0.5529 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3643, allocations: 4.953 kB / 0.5529 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3645, allocations: 200.5 kB / 0.5531 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3646, allocations: 91.23 kB / 0.5532 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3646, allocations: 6.25 kB / 0.5532 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.3647, allocations: 6.531 kB / 0.5532 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3647, allocations: 6.453 kB / 0.5532 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3648, allocations: 3.781 kB / 0.5532 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3649, allocations: 145 kB / 0.5533 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 0 / 0.5533 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3651, allocations: 24.31 kB / 0.5534 GB, free: 7.617 MB / 398.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.001656/0.3668, allocations: 478.8 kB / 0.5538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.367, allocations: 56.66 kB / 0.5539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.367, allocations: 0 / 0.5539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.714e-05/0.3671, allocations: 35.75 kB / 0.5539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3674, allocations: 28.12 kB / 0.5539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.368, allocations: 247.4 kB / 0.5542 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.3684, allocations: 0.7091 MB / 0.5549 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.3684, allocations: 15 kB / 0.5549 GB, free: 6.395 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3684, allocations: 4 kB / 0.5549 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Templates: time 0.00409/0.3725, allocations: 1.914 MB / 0.5567 GB, free: 5.398 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches