Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.00135/0.00135, 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.00151/0.00151, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8 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.2519/0.2519, allocations: 46.93 MB / 361.6 MB, free: 4.258 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 0.4975 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3642, allocations: 66.04 MB / 0.562 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003571/0.3678, allocations: 1.767 MB / 0.5637 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3697, allocations: 1.049 MB / 0.5647 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.3698, allocations: 3.938 kB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.3702, allocations: 107.6 kB / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3706, allocations: 131.5 kB / 0.5649 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3708, allocations: 83.66 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.371, allocations: 131.6 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3711, allocations: 19.95 kB / 0.5652 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3712, allocations: 55.78 kB / 0.5652 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3714, allocations: 75.72 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3714, allocations: 8 kB / 0.5653 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3715, allocations: 63.97 kB / 0.5654 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.3716, allocations: 35.84 kB / 0.5654 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.3717, allocations: 47.62 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3719, allocations: 157.7 kB / 0.5656 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3719, allocations: 0 / 0.5656 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3719, allocations: 0 / 0.5656 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.3719, allocations: 0 / 0.5656 GB, free: 0.6484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006945/0.3726, allocations: 389.2 kB / 0.566 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3727, allocations: 12.03 kB / 0.566 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3727, allocations: 16.84 kB / 0.566 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.373, allocations: 179.1 kB / 0.5662 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3731, allocations: 4.375 kB / 0.5662 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.3731, allocations: 4.391 kB / 0.5662 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3733, allocations: 69.59 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3733, allocations: 0 / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3733, allocations: 4 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3733, allocations: 0 / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.3734, allocations: 31.92 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.3739, allocations: 291.8 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3742, allocations: 70.62 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.3742, allocations: 28.78 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3743, allocations: 4 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.3744, allocations: 79.52 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3744, allocations: 0 / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008241/0.3752, allocations: 277.6 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3753, allocations: 51.41 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3756, allocations: 259.7 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3756, allocations: 29.7 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.3757, allocations: 116.1 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.3757, allocations: 43.67 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.3758, allocations: 33.7 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.376, allocations: 326.8 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.376, allocations: 35.98 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3761, allocations: 49.64 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3763, allocations: 85.7 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3763, allocations: 4 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002599/0.3766, allocations: 149.5 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3766, allocations: 8 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3766, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3766, allocations: 3.984 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.3767, allocations: 20 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3767, allocations: 4.172 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.3767, allocations: 11.94 kB / 0.5682 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3768, allocations: 11.98 kB / 0.5682 GB, free: 13.79 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 (14): * Single equations (assignments): 14 * 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.0001331/0.3769, allocations: 137.8 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3769, allocations: 15.91 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3772, allocations: 162.9 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3772, allocations: 4 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3773, allocations: 3.938 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.3779, allocations: 443.1 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3779, allocations: 7.938 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.3779, allocations: 27.92 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3779, allocations: 0 / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3779, allocations: 4 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3779, allocations: 0 / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.378, allocations: 4 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3783, allocations: 245.1 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.3783, allocations: 15.84 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3783, allocations: 8 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.3784, allocations: 0 / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3784, allocations: 15.92 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3785, allocations: 12.08 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3786, allocations: 189.5 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3786, allocations: 4 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3789, allocations: 31.94 kB / 0.5694 GB, free: 12.39 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 (12): * Single equations (assignments): 10 * 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.001933/0.3808, allocations: 0.5072 MB / 0.5699 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3811, allocations: 83.84 kB / 0.57 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3811, allocations: 4 kB / 0.57 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.3812, allocations: 43.92 kB / 0.5701 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3816, allocations: 43.86 kB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.3822, allocations: 342.2 kB / 0.5704 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3826, allocations: 0.7201 MB / 0.5711 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.3827, allocations: 23.42 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3827, allocations: 4 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004771/0.3874, allocations: 2.432 MB / 0.5735 GB, free: 8.352 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.963079856010154]