Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001221/0.001221, allocations: 110.4 kB / 21.19 MB, free: 0.6562 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.001421/0.001421, allocations: 204.7 kB / 24.49 MB, free: 3.953 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.247/0.247, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2766, allocations: 66.04 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002982/0.2796, allocations: 1.706 MB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2812, allocations: 0.9668 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.2813, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.2815, allocations: 43.77 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.2818, allocations: 99.53 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.282, allocations: 79.67 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.2822, allocations: 111.6 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.2823, allocations: 8 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.2823, allocations: 43.8 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.2824, allocations: 39.77 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2824, allocations: 4 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.2825, allocations: 43.92 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.2826, allocations: 19.92 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.2826, allocations: 27.8 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2828, allocations: 129.9 kB / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2828, allocations: 0 / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2828, allocations: 0 / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2829, allocations: 0 / 0.5651 GB, free: 0.8008 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.0005093/0.2834, allocations: 349.5 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2834, allocations: 12.03 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.2834, allocations: 16.89 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2837, allocations: 147 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2837, allocations: 4.375 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2837, allocations: 4.125 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2838, allocations: 57.67 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2839, allocations: 0 / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2839, allocations: 4 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2839, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.284, allocations: 19.98 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.2843, allocations: 244.5 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.2845, allocations: 54.67 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.2845, allocations: 20.84 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2846, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.2847, allocations: 71.33 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2847, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005606/0.2853, allocations: 185.3 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2853, allocations: 51.41 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2855, allocations: 202.3 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2855, allocations: 29.7 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2856, allocations: 108.1 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.2856, allocations: 27.78 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.2857, allocations: 21.72 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2858, allocations: 330.8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.2859, allocations: 19.98 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.286, allocations: 37.64 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2861, allocations: 65.64 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2861, allocations: 4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.2863, allocations: 113.5 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2863, allocations: 4 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2863, allocations: 0 / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2863, allocations: 4 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.2864, allocations: 15.94 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2864, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.2865, allocations: 7.984 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2865, allocations: 4.375 kB / 0.5673 GB, free: 14.43 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 (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.0001048/0.2866, allocations: 133.8 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.2866, allocations: 11.91 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.2869, allocations: 127 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2869, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2869, allocations: 4 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.2869, allocations: 7.953 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2869, allocations: 7.938 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.287, allocations: 0 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.287, allocations: 7.984 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00026/0.2873, allocations: 192.9 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000292/0.2875, allocations: 279 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.464e-05/0.2876, allocations: 32 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.2878, allocations: 160.2 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Backend: time 1.4e-07/0.2878, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.2899, allocations: 0.5159 MB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006466/0.2905, allocations: 0.6673 MB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.004827/0.2954, allocations: 2.008 MB / 0.5713 GB, free: 10.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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: 4.818928790002246]