Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001725/0.001725, 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.002276/0.002276, 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.2225/0.2225, 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [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.002127/0.002127, allocations: 68.19 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2834, allocations: 65.46 MB / 0.5583 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003234/0.2866, allocations: 1.749 MB / 0.56 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2884, allocations: 1.048 MB / 0.561 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.2885, allocations: 0 / 0.561 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.2888, allocations: 63.69 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.2891, allocations: 107.5 kB / 0.5612 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.2893, allocations: 71.75 kB / 0.5613 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2895, allocations: 103.7 kB / 0.5614 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.2895, allocations: 12 kB / 0.5614 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2896, allocations: 51.72 kB / 0.5614 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.2897, allocations: 31.78 kB / 0.5615 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2897, allocations: 4 kB / 0.5615 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.2898, allocations: 43.92 kB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.2899, allocations: 35.84 kB / 0.5615 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.29, allocations: 43.67 kB / 0.5616 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.2902, allocations: 137.8 kB / 0.5617 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2902, allocations: 0 / 0.5617 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2902, allocations: 0 / 0.5617 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2902, allocations: 0 / 0.5617 GB, free: 4.238 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.0005676/0.2908, allocations: 381.2 kB / 0.5621 GB, free: 3.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2908, allocations: 12.03 kB / 0.5621 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.2908, allocations: 12.84 kB / 0.5621 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.2911, allocations: 167.2 kB / 0.5623 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2912, allocations: 4.375 kB / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2912, allocations: 8.125 kB / 0.5623 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2913, allocations: 53.67 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2913, allocations: 4 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2913, allocations: 0 / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2914, allocations: 4 kB / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.2914, allocations: 15.98 kB / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.2918, allocations: 279.8 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.292, allocations: 54.67 kB / 0.5627 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.292, allocations: 24.84 kB / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2921, allocations: 4 kB / 0.5627 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.2922, allocations: 67.33 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2922, allocations: 0 / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005441/0.2928, allocations: 177.4 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2928, allocations: 55.34 kB / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.2931, allocations: 279.8 kB / 0.5632 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2931, allocations: 25.7 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.2932, allocations: 124.1 kB / 0.5634 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2932, allocations: 27.78 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2933, allocations: 17.72 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2935, allocations: 338.8 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.2935, allocations: 12 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.2936, allocations: 41.7 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2937, allocations: 61.83 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2937, allocations: 0 / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.2939, allocations: 105.5 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2939, allocations: 7.984 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2939, allocations: 7.938 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2939, allocations: 0 / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.294, allocations: 19.97 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.294, allocations: 0 / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.2941, allocations: 11.94 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2941, allocations: 7.984 kB / 0.564 GB, free: 1.672 MB / 398.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.0001224/0.2942, allocations: 133.8 kB / 0.5641 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.2943, allocations: 12.28 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2945, allocations: 123 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2945, allocations: 0 / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2945, allocations: 4 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.2945, allocations: 11.94 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.295, allocations: 378.6 kB / 0.5647 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.295, allocations: 0 / 0.5647 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.2951, allocations: 8 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2951, allocations: 0 / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2951, allocations: 7.938 kB / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2951, allocations: 0 / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2951, allocations: 0 / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.2953, allocations: 212.3 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2954, allocations: 15.84 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2954, allocations: 3.938 kB / 0.5649 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2955, allocations: 4 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2955, allocations: 7.984 kB / 0.5649 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2955, allocations: 4 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2957, allocations: 208.6 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2957, allocations: 0 / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.296, allocations: 23.94 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.001741/0.2977, allocations: 470 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2979, allocations: 55.91 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2979, allocations: 0 / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.298, allocations: 23.98 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2983, allocations: 25.86 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.2989, allocations: 325.5 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.2993, allocations: 0.7197 MB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.2994, allocations: 19.44 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2994, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Templates: time 0.004287/0.3036, allocations: 2.123 MB / 0.5688 GB, free: 12.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 7.826837961096317]