Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001802/0.001802, 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.002218/0.002218, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.675/1.675, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.27/0.27, allocations: 44.91 MB / 359.6 MB, free: 6.348 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 75.88 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2826, allocations: 65.46 MB / 0.5583 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003406/0.286, allocations: 1.956 MB / 0.5602 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.288, allocations: 1.092 MB / 0.5613 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.2881, allocations: 3.938 kB / 0.5613 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.2884, allocations: 43.7 kB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.2887, allocations: 103.5 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2889, allocations: 99.64 kB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2892, allocations: 143.5 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2893, allocations: 24.41 kB / 0.5617 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2894, allocations: 67.64 kB / 0.5617 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2895, allocations: 55.66 kB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2896, allocations: 8 kB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.2897, allocations: 47.98 kB / 0.5618 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.2897, allocations: 27.91 kB / 0.5619 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.2898, allocations: 55.61 kB / 0.5619 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.2901, allocations: 155 kB / 0.5621 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2901, allocations: 0 / 0.5621 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2901, allocations: 0 / 0.5621 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2901, allocations: 4 kB / 0.5621 GB, free: 3.863 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006699/0.2908, allocations: 411 kB / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2908, allocations: 8.031 kB / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.2908, allocations: 24.84 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.2912, allocations: 178.9 kB / 0.5627 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2912, allocations: 4.375 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2912, allocations: 12.12 kB / 0.5627 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2914, allocations: 104.2 kB / 0.5628 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2915, allocations: 0 / 0.5628 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2915, allocations: 4 kB / 0.5628 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2915, allocations: 4 kB / 0.5628 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.2916, allocations: 59.83 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.2923, allocations: 476.1 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.2926, allocations: 82.67 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.2927, allocations: 36.83 kB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2927, allocations: 0 / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.2929, allocations: 91.31 kB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2929, allocations: 0 / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004056/0.2933, allocations: 141.5 kB / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2934, allocations: 59.72 kB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2936, allocations: 207.1 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2936, allocations: 25.7 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.2937, allocations: 120.1 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.2937, allocations: 31.69 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.2938, allocations: 33.7 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2939, allocations: 326.8 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.294, allocations: 31.97 kB / 0.5644 GB, free: 1.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2941, allocations: 56.28 kB / 0.5645 GB, free: 1.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.2943, allocations: 108.1 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2943, allocations: 0 / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002879/0.2946, allocations: 133.6 kB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2946, allocations: 8 kB / 0.5647 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2947, allocations: 4 kB / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2947, allocations: 0 / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2948, allocations: 27.92 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2948, allocations: 0 / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.2949, allocations: 11.95 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2949, allocations: 7.984 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001215/0.295, allocations: 141.6 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.295, allocations: 15.91 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.2953, allocations: 127 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2953, allocations: 3.938 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2953, allocations: 0 / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2953, allocations: 192 / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2955, allocations: 180.7 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2955, allocations: 3.938 kB / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.2956, allocations: 11.98 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2956, allocations: 3.938 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2956, allocations: 16 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2956, allocations: 3.938 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2956, allocations: 0 / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.296, allocations: 180.9 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.296, allocations: 11.94 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.296, allocations: 4 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.2961, allocations: 12 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2962, allocations: 11.92 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2962, allocations: 4 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.2963, allocations: 147.2 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.2966, allocations: 27.94 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001537/0.2981, allocations: 412.2 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.2984, allocations: 79.89 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2984, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2985, allocations: 31.92 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2988, allocations: 46.95 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.2994, allocations: 301 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2997, allocations: 0.7204 MB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.2997, allocations: 19.42 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2997, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004385/0.3041, allocations: 2.218 MB / 0.5694 GB, free: 12.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 8.34625099808909]