Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001608/0.001608, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001933/0.001933, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2273/0.2273, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.83 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2792, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003213/0.2824, allocations: 1.721 MB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2841, allocations: 0.9637 MB / 0.5645 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.2842, allocations: 0 / 0.5645 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.2845, allocations: 87.7 kB / 0.5646 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.2848, allocations: 119.5 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.285, allocations: 83.66 kB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.2852, allocations: 111.7 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.2853, allocations: 11.98 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.2853, allocations: 51.78 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2855, allocations: 67.73 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2855, allocations: 7.938 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.2856, allocations: 40 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.2856, allocations: 31.89 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.2857, allocations: 23.81 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2859, allocations: 133.8 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2859, allocations: 0 / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2859, allocations: 0 / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2859, allocations: 0 / 0.5652 GB, free: 0.707 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.0005455/0.2865, allocations: 357.5 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2865, allocations: 8.031 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.2865, allocations: 12.84 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2868, allocations: 154.3 kB / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2868, allocations: 12.38 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2868, allocations: 4.125 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.287, allocations: 57.67 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.287, allocations: 3.938 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.287, allocations: 0 / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.287, allocations: 0 / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.2871, allocations: 23.92 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2874, allocations: 240.5 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2876, allocations: 54.69 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.2877, allocations: 24.84 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2877, allocations: 0 / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.2878, allocations: 71.33 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2878, allocations: 3.938 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.2884, allocations: 193.2 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2884, allocations: 55.41 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.2887, allocations: 223.6 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2887, allocations: 25.7 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.2888, allocations: 108.1 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2888, allocations: 31.78 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.2888, allocations: 17.72 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.289, allocations: 334.8 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.289, allocations: 16 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.2891, allocations: 37.7 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.2892, allocations: 65.64 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2892, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.2894, allocations: 105.6 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2895, allocations: 4 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2895, allocations: 4.031 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2895, allocations: 4 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.2896, allocations: 20.3 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2896, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.2896, allocations: 4 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2896, allocations: 4 kB / 0.5674 GB, free: 14.28 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.00011/0.2897, allocations: 137 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.2898, allocations: 15.91 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.29, allocations: 123.2 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.29, allocations: 4 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2901, allocations: 3.984 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.2901, allocations: 11.94 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2901, allocations: 11.88 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.2901, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2902, allocations: 11.98 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/0.2904, allocations: 185.1 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002929/0.2907, allocations: 286.6 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.211e-05/0.2908, allocations: 23.98 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.291, allocations: 185.1 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Backend: time 4e-07/0.291, allocations: 4 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.2931, allocations: 0.4996 MB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006882/0.2938, allocations: 0.6925 MB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005062/0.2988, allocations: 2.039 MB / 0.5715 GB, free: 10.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.808245456995792]