Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001371/0.001371, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001504/0.001504, allocations: 209 kB / 24.48 MB, free: 3.938 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.2305/0.2305, allocations: 44.94 MB / 359.6 MB, free: 6.027 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [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.002134/0.002134, allocations: 78.36 kB / 0.4943 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3632, allocations: 65.47 MB / 0.5583 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003445/0.3666, allocations: 1.709 MB / 0.5599 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3685, allocations: 0.9677 MB / 0.5609 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.3686, allocations: 7.938 kB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.369, allocations: 51.75 kB / 0.5609 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.3693, allocations: 107.5 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3695, allocations: 79.67 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3697, allocations: 103.7 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3698, allocations: 11.98 kB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.3699, allocations: 39.8 kB / 0.5613 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.37, allocations: 39.77 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.37, allocations: 4 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3701, allocations: 43.92 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.3702, allocations: 23.92 kB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.3703, allocations: 35.73 kB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3705, allocations: 145.8 kB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3705, allocations: 0 / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3705, allocations: 0 / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3705, allocations: 0 / 0.5615 GB, free: 4.082 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.0006245/0.3712, allocations: 381.2 kB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3712, allocations: 12.03 kB / 0.5619 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3712, allocations: 12.84 kB / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3716, allocations: 155.3 kB / 0.5621 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3716, allocations: 4.375 kB / 0.5621 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3716, allocations: 8.125 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3718, allocations: 61.67 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3718, allocations: 0 / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3718, allocations: 3.984 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3718, allocations: 4 kB / 0.5621 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.3719, allocations: 19.98 kB / 0.5622 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.3723, allocations: 248.4 kB / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3724, allocations: 50.67 kB / 0.5625 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.3725, allocations: 24.84 kB / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3725, allocations: 4 kB / 0.5625 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3727, allocations: 71.33 kB / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3727, allocations: 0 / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006063/0.3733, allocations: 197.2 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3733, allocations: 55.41 kB / 0.5628 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3736, allocations: 279.8 kB / 0.5631 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3736, allocations: 29.7 kB / 0.5631 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.3737, allocations: 120.1 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3737, allocations: 23.8 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.3738, allocations: 21.7 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3739, allocations: 338.8 kB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.374, allocations: 19.98 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.3741, allocations: 37.64 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3742, allocations: 69.7 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3742, allocations: 0 / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.3744, allocations: 105.5 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3744, allocations: 10.81 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3744, allocations: 3.984 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3744, allocations: 4.031 kB / 0.5638 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.3745, allocations: 15.94 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3745, allocations: 4 kB / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.3746, allocations: 0 / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3746, allocations: 7.984 kB / 0.5638 GB, free: 1.539 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.0001188/0.3747, allocations: 137.8 kB / 0.564 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3747, allocations: 15.91 kB / 0.564 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.375, allocations: 127 kB / 0.5641 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.375, allocations: 0 / 0.5641 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.375, allocations: 7.984 kB / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.375, allocations: 384 / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.3755, allocations: 358.9 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3755, allocations: 7.984 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.3756, allocations: 8 kB / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3756, allocations: 4 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3756, allocations: 0 / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3756, allocations: 0 / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3756, allocations: 7.875 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3758, allocations: 220.6 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.3759, allocations: 19.88 kB / 0.5647 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3759, allocations: 0 / 0.5647 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.376, allocations: 8.031 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.376, allocations: 19.86 kB / 0.5647 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.376, allocations: 4 kB / 0.5647 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3762, allocations: 204.6 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3762, allocations: 0 / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.3765, allocations: 27.89 kB / 0.565 GB, free: 308 kB / 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 (9): * Single equations (assignments): 7 * 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.001843/0.3783, allocations: 486 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3785, allocations: 67.88 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3785, allocations: 0 / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3786, allocations: 31.92 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.379, allocations: 39.97 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.3796, allocations: 329.3 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3797, allocations: 109.1 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.3797, allocations: 15.44 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3797, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Templates: time 0.00438/0.3841, allocations: 2.163 MB / 0.5681 GB, free: 13.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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: 7.938913604710251]