Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001368/0.001368, 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.001437/0.001437, allocations: 197.2 kB / 23.52 MB, free: 5.406 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.408/1.408, allocations: 225.6 MB / 252.1 MB, free: 13.43 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.2233/0.2233, allocations: 44.92 MB / 352.1 MB, free: 12.32 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 59.91 kB / 495.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 64.26 MB / 0.5468 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003712/0.3775, allocations: 1.715 MB / 0.5485 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3792, allocations: 0.8901 MB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3793, allocations: 0.9375 kB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.3797, allocations: 37.34 kB / 0.5494 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.3799, allocations: 61.66 kB / 0.5495 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3804, allocations: 111.8 kB / 0.5496 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3806, allocations: 97.91 kB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3807, allocations: 4.734 kB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3808, allocations: 47.48 kB / 0.5497 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.3809, allocations: 30.23 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3809, allocations: 3.312 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.381, allocations: 47.48 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.3811, allocations: 23.41 kB / 0.5498 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.3811, allocations: 31.22 kB / 0.5499 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3814, allocations: 119.6 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3814, allocations: 0 / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3814, allocations: 0 / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3814, allocations: 1.062 kB / 0.55 GB, free: 10.81 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.0006242/0.382, allocations: 424.4 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.382, allocations: 9.781 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3821, allocations: 9.172 kB / 0.5504 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3824, allocations: 224.8 kB / 0.5506 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3824, allocations: 6.031 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.3825, allocations: 5.656 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3826, allocations: 54.14 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3826, allocations: 3.984 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3826, allocations: 1.281 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3826, allocations: 1.344 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.3827, allocations: 17.52 kB / 0.5507 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3831, allocations: 287.6 kB / 0.551 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3833, allocations: 59.61 kB / 0.551 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3833, allocations: 24.59 kB / 0.551 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.3833, allocations: 1.594 kB / 0.5511 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.3835, allocations: 69.27 kB / 0.5511 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.249e-06/0.3835, allocations: 4 kB / 0.5511 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005703/0.3841, allocations: 173.4 kB / 0.5513 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3841, allocations: 56.59 kB / 0.5513 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3843, allocations: 197.5 kB / 0.5515 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3844, allocations: 27.05 kB / 0.5516 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.3844, allocations: 108 kB / 0.5517 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3845, allocations: 20.11 kB / 0.5517 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3845, allocations: 28.95 kB / 0.5517 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3846, allocations: 329.8 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.3847, allocations: 23.39 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.3848, allocations: 35.64 kB / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3849, allocations: 62.39 kB / 0.5521 GB, free: 8.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3849, allocations: 1.344 kB / 0.5521 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.3851, allocations: 98.61 kB / 0.5522 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3851, allocations: 9.469 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3851, allocations: 1.094 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3851, allocations: 1.125 kB / 0.5522 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.3852, allocations: 16.28 kB / 0.5523 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3852, allocations: 1.062 kB / 0.5523 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.3853, allocations: 14.2 kB / 0.5523 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3853, allocations: 3.5 kB / 0.5523 GB, free: 8.629 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.0001055/0.3854, allocations: 123.4 kB / 0.5524 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3854, allocations: 25.33 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3857, allocations: 116.2 kB / 0.5525 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3857, allocations: 0.9688 kB / 0.5525 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3857, allocations: 1.125 kB / 0.5525 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3857, allocations: 7.922 kB / 0.5525 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.3862, allocations: 391.5 kB / 0.5529 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3862, allocations: 0 / 0.5529 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.3862, allocations: 7.125 kB / 0.5529 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3862, allocations: 5.5 kB / 0.5529 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3862, allocations: 5.781 kB / 0.5529 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3862, allocations: 1.469 kB / 0.5529 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3862, allocations: 3.984 kB / 0.5529 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3865, allocations: 212.5 kB / 0.5531 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.3865, allocations: 84.12 kB / 0.5532 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3865, allocations: 6.75 kB / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.3866, allocations: 9.406 kB / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3866, allocations: 10.7 kB / 0.5532 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3867, allocations: 3.594 kB / 0.5532 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3868, allocations: 156.7 kB / 0.5534 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 0.5534 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3871, allocations: 19.78 kB / 0.5534 GB, free: 7.598 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.001742/0.3888, allocations: 468.2 kB / 0.5539 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.389, allocations: 51.58 kB / 0.5539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.389, allocations: 0 / 0.5539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.3891, allocations: 28.48 kB / 0.5539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3894, allocations: 34.94 kB / 0.554 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.39, allocations: 265.1 kB / 0.5542 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3903, allocations: 0.7098 MB / 0.5549 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.3903, allocations: 15.59 kB / 0.5549 GB, free: 6.383 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3903, allocations: 0 / 0.5549 GB, free: 6.383 MB / 398.1 MB Notification: Performance of Templates: time 0.004656/0.395, allocations: 1.936 MB / 0.5568 GB, free: 5.379 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches