Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001659/0.001659, allocations: 107.2 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.001425/0.001425, allocations: 198.5 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.529/1.529, 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.2292/0.2292, allocations: 44.91 MB / 352.1 MB, free: 12.34 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.89 kB / 495.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.382, allocations: 64.25 MB / 0.5468 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003555/0.3855, allocations: 1.715 MB / 0.5485 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3872, allocations: 0.8857 MB / 0.5494 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.3873, allocations: 5.312 kB / 0.5494 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.3876, allocations: 28.14 kB / 0.5494 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.3879, allocations: 57.39 kB / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3882, allocations: 115.8 kB / 0.5496 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3884, allocations: 93.16 kB / 0.5497 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3885, allocations: 12.47 kB / 0.5497 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.3886, allocations: 43.55 kB / 0.5497 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.3887, allocations: 33.8 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3887, allocations: 4.469 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3889, allocations: 42.39 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3889, allocations: 13.84 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.389, allocations: 31.33 kB / 0.5498 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3892, allocations: 107 kB / 0.5499 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3892, allocations: 1.594 kB / 0.5499 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3892, allocations: 0 / 0.5499 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3892, allocations: 0 / 0.5499 GB, free: 10.84 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.0006549/0.3899, allocations: 417.6 kB / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3899, allocations: 8.188 kB / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.39, allocations: 9.266 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3903, allocations: 202.9 kB / 0.5506 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3903, allocations: 9.125 kB / 0.5506 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3903, allocations: 3.281 kB / 0.5506 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3905, allocations: 57.05 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3905, allocations: 1.375 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3905, allocations: 4 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3905, allocations: 1.375 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.3906, allocations: 18.05 kB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.391, allocations: 285 kB / 0.5509 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3912, allocations: 55.48 kB / 0.551 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.3912, allocations: 21.83 kB / 0.551 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3913, allocations: 0 / 0.551 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3914, allocations: 69.53 kB / 0.5511 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.3914, allocations: 3.938 kB / 0.5511 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005819/0.392, allocations: 164 kB / 0.5512 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3921, allocations: 60.88 kB / 0.5513 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3922, allocations: 162.2 kB / 0.5514 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3923, allocations: 26.89 kB / 0.5515 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.3923, allocations: 108.3 kB / 0.5516 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3924, allocations: 24.17 kB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3924, allocations: 28.23 kB / 0.5516 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3926, allocations: 326.4 kB / 0.5519 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.3926, allocations: 14.25 kB / 0.5519 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.3927, allocations: 43.3 kB / 0.552 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3928, allocations: 59.02 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3928, allocations: 1.125 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.393, allocations: 99.41 kB / 0.5521 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.393, allocations: 4.156 kB / 0.5521 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.393, allocations: 5.344 kB / 0.5521 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3931, allocations: 9.531 kB / 0.5521 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3932, allocations: 12.53 kB / 0.5522 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3932, allocations: 5.469 kB / 0.5522 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.3932, allocations: 9.109 kB / 0.5522 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3932, allocations: 2.438 kB / 0.5522 GB, free: 8.707 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.0001014/0.3933, allocations: 120.8 kB / 0.5523 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3934, allocations: 9.297 kB / 0.5523 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.3936, allocations: 130.1 kB / 0.5524 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3936, allocations: 1.312 kB / 0.5524 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3936, allocations: 0 / 0.5524 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3936, allocations: 5.156 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.3941, allocations: 386.3 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3941, allocations: 1.25 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.3942, allocations: 7.031 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3942, allocations: 5.172 kB / 0.5528 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3942, allocations: 6.312 kB / 0.5528 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3942, allocations: 1.281 kB / 0.5528 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3942, allocations: 0 / 0.5528 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3945, allocations: 204.5 kB / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.3945, allocations: 87.47 kB / 0.5531 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3945, allocations: 1.438 kB / 0.5531 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3946, allocations: 6.422 kB / 0.5531 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3947, allocations: 7.219 kB / 0.5531 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3947, allocations: 3.094 kB / 0.5531 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3948, allocations: 134.7 kB / 0.5532 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3948, allocations: 0 / 0.5532 GB, free: 7.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3951, allocations: 27.27 kB / 0.5533 GB, free: 7.703 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.00173/0.3968, allocations: 471.9 kB / 0.5537 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.397, allocations: 56.09 kB / 0.5538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.397, allocations: 0 / 0.5538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.3971, allocations: 27.91 kB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3975, allocations: 36.56 kB / 0.5538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.398, allocations: 235.6 kB / 0.5541 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3984, allocations: 0.7029 MB / 0.5547 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3984, allocations: 15.84 kB / 0.5548 GB, free: 6.496 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3984, allocations: 0 / 0.5548 GB, free: 6.496 MB / 398.1 MB Notification: Performance of Templates: time 0.004159/0.4026, allocations: 1.866 MB / 0.5566 GB, free: 5.531 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches