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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 190.6 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2973/0.2973, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.001974/0.001974, allocations: 71.88 kB / 495.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 64.26 MB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004602/0.3766, allocations: 1.729 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3785, allocations: 0.8992 MB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3786, allocations: 4.719 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.3789, allocations: 36.8 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.3792, allocations: 58.16 kB / 0.5491 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.3795, allocations: 115 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.3799, allocations: 97.86 kB / 0.5493 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.38, allocations: 8.797 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3802, allocations: 43.94 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3803, allocations: 25.23 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3803, allocations: 8.016 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3804, allocations: 46.27 kB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.3805, allocations: 19.58 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.3806, allocations: 32 kB / 0.5495 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.3809, allocations: 119.1 kB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.381, allocations: 9.031 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.381, allocations: 0 / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.381, allocations: 0 / 0.5496 GB, free: 10.75 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.0009918/0.382, allocations: 416.9 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.382, allocations: 9.938 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.3821, allocations: 9.078 kB / 0.5501 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.3826, allocations: 217.4 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3826, allocations: 1.562 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.3827, allocations: 9.625 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3828, allocations: 54.11 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3829, allocations: 5.578 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3829, allocations: 4 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3829, allocations: 0 / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.383, allocations: 18.61 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.3834, allocations: 287.6 kB / 0.5506 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3836, allocations: 51.31 kB / 0.5507 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.3837, allocations: 21.25 kB / 0.5507 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3837, allocations: 1.344 kB / 0.5507 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3839, allocations: 68.98 kB / 0.5508 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3839, allocations: 0 / 0.5508 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000635/0.3845, allocations: 185.9 kB / 0.5509 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3846, allocations: 60.47 kB / 0.551 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3848, allocations: 194.6 kB / 0.5512 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3849, allocations: 31.17 kB / 0.5512 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.3849, allocations: 100.4 kB / 0.5513 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.385, allocations: 19.77 kB / 0.5513 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.385, allocations: 25.3 kB / 0.5513 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3852, allocations: 330.2 kB / 0.5517 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.3853, allocations: 23.17 kB / 0.5517 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.3854, allocations: 34.28 kB / 0.5517 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3855, allocations: 67.52 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3855, allocations: 0 / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.3857, allocations: 104.1 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3857, allocations: 4.969 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3857, allocations: 5.438 kB / 0.5519 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3857, allocations: 1.531 kB / 0.5519 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3858, allocations: 19.84 kB / 0.5519 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3859, allocations: 0.9688 kB / 0.5519 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.3859, allocations: 10.14 kB / 0.5519 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3859, allocations: 3.406 kB / 0.5519 GB, free: 8.586 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.0001266/0.386, allocations: 127.2 kB / 0.552 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3861, allocations: 17.77 kB / 0.5521 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3864, allocations: 116.6 kB / 0.5522 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3864, allocations: 1.094 kB / 0.5522 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3864, allocations: 0 / 0.5522 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3864, allocations: 7.922 kB / 0.5522 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.3869, allocations: 391.5 kB / 0.5526 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3869, allocations: 0 / 0.5526 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.3869, allocations: 7.281 kB / 0.5526 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3869, allocations: 5.453 kB / 0.5526 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3869, allocations: 9.375 kB / 0.5526 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3869, allocations: 5.5 kB / 0.5526 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3869, allocations: 3.984 kB / 0.5526 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3872, allocations: 197.4 kB / 0.5528 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.3873, allocations: 91.28 kB / 0.5529 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.3873, allocations: 10.31 kB / 0.5529 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.3874, allocations: 2.312 kB / 0.5529 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3874, allocations: 11.14 kB / 0.5529 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3874, allocations: 3.469 kB / 0.5529 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3876, allocations: 155.2 kB / 0.553 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3876, allocations: 0.875 kB / 0.553 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3878, allocations: 19.81 kB / 0.5531 GB, free: 7.562 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.001779/0.3896, allocations: 473.8 kB / 0.5535 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3898, allocations: 56.86 kB / 0.5536 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3899, allocations: 0 / 0.5536 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.3899, allocations: 23.2 kB / 0.5536 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3903, allocations: 34.7 kB / 0.5536 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.391, allocations: 257 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.3914, allocations: 0.7095 MB / 0.5546 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.566e-05/0.3914, allocations: 14.31 kB / 0.5546 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.3915, allocations: 18.41 kB / 0.5546 GB, free: 6.359 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3915, allocations: 5.062 kB / 0.5546 GB, free: 6.355 MB / 398.1 MB Notification: Performance of Templates: time 0.005851/0.3973, allocations: 1.735 MB / 0.5563 GB, free: 5.473 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.331696480512619]