Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001901/0.001901, allocations: 110.4 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.002278/0.002278, allocations: 205.7 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2257/0.2257, allocations: 46.97 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2836, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003056/0.2867, allocations: 1.714 MB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2885, allocations: 0.9676 MB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.2885, allocations: 3.938 kB / 0.5645 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.2889, allocations: 55.81 kB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2893, allocations: 103.5 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2895, allocations: 79.67 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.2897, allocations: 107.7 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2898, allocations: 4 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.2899, allocations: 39.8 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.29, allocations: 47.7 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.29, allocations: 4 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2902, allocations: 43.98 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.2902, allocations: 23.92 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.2903, allocations: 39.72 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.2905, allocations: 141.8 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2905, allocations: 0 / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2906, allocations: 0 / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2906, allocations: 0 / 0.5652 GB, free: 0.7734 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.0006783/0.2912, allocations: 381.2 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2913, allocations: 8.031 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.2913, allocations: 16.84 kB / 0.5656 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2916, allocations: 159.3 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2917, allocations: 8.375 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2917, allocations: 4.125 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2918, allocations: 61.67 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2918, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2919, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2919, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.2919, allocations: 23.92 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.2923, allocations: 248.5 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2925, allocations: 50.69 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.2926, allocations: 28.83 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2926, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.2927, allocations: 71.33 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2927, allocations: 7.875 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.2933, allocations: 193.2 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2934, allocations: 55.39 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2937, allocations: 278.8 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2937, allocations: 25.7 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.2938, allocations: 120.1 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.2938, allocations: 35.77 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.2938, allocations: 21.72 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.294, allocations: 330.8 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.2941, allocations: 19.98 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.2941, allocations: 37.7 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.2943, allocations: 61.64 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2943, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.2945, allocations: 113.5 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2945, allocations: 8.031 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2945, allocations: 0 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2945, allocations: 0 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2946, allocations: 23.92 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2946, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.2947, allocations: 4 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2947, allocations: 160 / 0.5675 GB, free: 14.23 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.0001252/0.2948, allocations: 140.6 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2948, allocations: 15.91 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.2951, allocations: 131 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2951, allocations: 7.984 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2951, allocations: 384 / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.2951, allocations: 11.91 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.2952, allocations: 11.94 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.2952, allocations: 4 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.2953, allocations: 7.984 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002517/0.2955, allocations: 189.1 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002954/0.2958, allocations: 286.7 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.296e-05/0.2959, allocations: 23.98 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.2961, allocations: 212.5 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Backend: time 4.1e-07/0.2961, allocations: 0 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.2983, allocations: 0.5239 MB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007537/0.299, allocations: 0.7151 MB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Templates: time 0.005387/0.3044, allocations: 2.076 MB / 0.5717 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.784856367994507]