Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001814/0.001814, 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.002132/0.002132, allocations: 205.2 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2217/0.2217, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.84 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2792, allocations: 66.03 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003044/0.2822, allocations: 1.716 MB / 0.5636 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2839, allocations: 0.9715 MB / 0.5645 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.284, allocations: 3.938 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.2842, allocations: 47.81 kB / 0.5646 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.2845, allocations: 107.5 kB / 0.5647 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2847, allocations: 75.67 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2849, allocations: 111.7 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.285, allocations: 8 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.285, allocations: 39.8 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.2851, allocations: 39.7 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2851, allocations: 8 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.2852, allocations: 39.98 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.2853, allocations: 23.92 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.2854, allocations: 31.75 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2856, allocations: 149.8 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2856, allocations: 0 / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2856, allocations: 3.938 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2856, allocations: 0 / 0.5652 GB, free: 0.7969 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.0005422/0.2861, allocations: 377.2 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.2862, allocations: 8.031 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.2862, allocations: 16.84 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.2865, allocations: 159.3 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2865, allocations: 384 / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.2865, allocations: 8.125 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2867, allocations: 61.66 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2867, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2867, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2867, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.2868, allocations: 27.92 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.2871, allocations: 240.5 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2873, allocations: 58.67 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.2874, allocations: 20.84 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2874, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2876, allocations: 71.33 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2876, allocations: 0 / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005849/0.2881, allocations: 201.2 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2882, allocations: 51.41 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.2885, allocations: 278.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2885, allocations: 25.7 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.2886, allocations: 120.1 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2886, allocations: 27.78 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.2887, allocations: 29.64 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2888, allocations: 330.8 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.2889, allocations: 27.98 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.2889, allocations: 37.7 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2891, allocations: 65.64 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2891, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.2893, allocations: 101.5 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2893, allocations: 7.984 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2893, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2893, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.2894, allocations: 23.97 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2894, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.2895, allocations: 4 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2895, allocations: 7.984 kB / 0.5675 GB, free: 14.26 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.0001208/0.2896, allocations: 137.8 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2896, allocations: 11.91 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.2899, allocations: 123.2 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2899, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2899, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2899, allocations: 23.89 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.29, allocations: 11.92 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.29, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.29, allocations: 7.984 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002559/0.2903, allocations: 189.1 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002952/0.2906, allocations: 286.6 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.503e-05/0.2907, allocations: 27.98 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.2909, allocations: 212.5 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Backend: time 3.3e-07/0.2909, allocations: 0 / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.2931, allocations: 0.5254 MB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007524/0.2938, allocations: 0.7155 MB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.005269/0.2991, allocations: 2.071 MB / 0.5717 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.725862106002751]