Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001624/0.001624, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00189/0.00189, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 46.94 MB / 361.6 MB, free: 4.348 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 0.4975 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3693, allocations: 66.03 MB / 0.5619 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.0034/0.3727, allocations: 1.768 MB / 0.5637 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3745, allocations: 1.048 MB / 0.5647 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.3746, allocations: 7.938 kB / 0.5647 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.375, allocations: 103.7 kB / 0.5648 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.3753, allocations: 127.5 kB / 0.5649 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3755, allocations: 83.66 kB / 0.565 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3758, allocations: 127.6 kB / 0.5651 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3759, allocations: 15.98 kB / 0.5651 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.376, allocations: 63.7 kB / 0.5652 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3761, allocations: 71.73 kB / 0.5653 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3761, allocations: 4 kB / 0.5653 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3763, allocations: 67.95 kB / 0.5653 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3763, allocations: 23.86 kB / 0.5654 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.3764, allocations: 43.69 kB / 0.5654 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3766, allocations: 145.7 kB / 0.5655 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3766, allocations: 0 / 0.5655 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3766, allocations: 0 / 0.5655 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3767, allocations: 0 / 0.5655 GB, free: 0.7539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006115/0.3773, allocations: 393.3 kB / 0.5659 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3773, allocations: 8.031 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.3773, allocations: 16.84 kB / 0.5659 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3777, allocations: 170.3 kB / 0.5661 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3777, allocations: 4.375 kB / 0.5661 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3777, allocations: 8.078 kB / 0.5661 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3779, allocations: 57.67 kB / 0.5662 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3779, allocations: 0 / 0.5662 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3779, allocations: 8 kB / 0.5662 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3779, allocations: 4 kB / 0.5662 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.378, allocations: 19.98 kB / 0.5662 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.3784, allocations: 275.8 kB / 0.5665 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3786, allocations: 58.56 kB / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.3787, allocations: 28.91 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3787, allocations: 4.062 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.3789, allocations: 67.39 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3789, allocations: 0 / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007416/0.3796, allocations: 253.5 kB / 0.5669 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.3797, allocations: 59.34 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.3799, allocations: 246.8 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.38, allocations: 29.7 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.38, allocations: 112.1 kB / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3801, allocations: 39.67 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.3801, allocations: 25.72 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3803, allocations: 330.8 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.646e-05/0.3803, allocations: 23.98 kB / 0.5677 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.3804, allocations: 57.69 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3806, allocations: 77.66 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3806, allocations: 0 / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002178/0.3808, allocations: 129.5 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3808, allocations: 6.5 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3808, allocations: 4 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3808, allocations: 3.938 kB / 0.568 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3809, allocations: 23.95 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3809, allocations: 8.172 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3809, allocations: 4 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.381, allocations: 7.984 kB / 0.568 GB, free: 14.04 MB / 414.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 (13): * Single equations (assignments): 13 * 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.00013/0.3811, allocations: 141.8 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.3811, allocations: 11.91 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3814, allocations: 150.9 kB / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3814, allocations: 0 / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3814, allocations: 7.922 kB / 0.5683 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3814, allocations: 8 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.382, allocations: 427.1 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.382, allocations: 0 / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.382, allocations: 15.98 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.382, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.382, allocations: 4 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.382, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.382, allocations: 4.062 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3823, allocations: 237 kB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3823, allocations: 19.89 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3824, allocations: 4 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.3824, allocations: 0 / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3825, allocations: 15.98 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3825, allocations: 4 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3827, allocations: 192.2 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3827, allocations: 0 / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3829, allocations: 31.92 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001924/0.3849, allocations: 0.5108 MB / 0.5697 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.3851, allocations: 79.91 kB / 0.5698 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3851, allocations: 0 / 0.5698 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.3852, allocations: 31.92 kB / 0.5698 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3856, allocations: 49.59 kB / 0.5699 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.3862, allocations: 322.3 kB / 0.5702 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3865, allocations: 0.7238 MB / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.3866, allocations: 19.42 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3866, allocations: 4 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004621/0.3912, allocations: 2.307 MB / 0.5732 GB, free: 8.809 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.966016749851406]