Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001087/0.001087, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001749/0.002837, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001129/0.001129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002666, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09246/1.108, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2867/0.2867, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02608/0.3128, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.406e-05, allocations: 4.234 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002801/0.002825, allocations: 1.811 MB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004228, allocations: 1.023 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.004305, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.004507, allocations: 43.59 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.004769, allocations: 95.48 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.004999, allocations: 79.55 kB / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.005207, allocations: 115.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.005286, allocations: 4 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.00543, allocations: 79.81 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.005512, allocations: 27.91 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.005528, allocations: 4 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005631, allocations: 47.86 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.005681, allocations: 19.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.005715, allocations: 11.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.005905, allocations: 99.59 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.005917, allocations: 4 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005917, allocations: 4 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.005927, allocations: 0 / 296.4 MB, free: 2.637 MB / 282.7 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.0004644/0.006392, allocations: 321.1 kB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.006424, allocations: 12.02 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.006461, allocations: 8.875 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.00663, allocations: 150.2 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.006646, allocations: 384 / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.006665, allocations: 4.375 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.006845, allocations: 65.75 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.006855, allocations: 7.938 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.006861, allocations: 0 / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.006866, allocations: 0 / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.006893, allocations: 8 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.007108, allocations: 173.9 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.00721, allocations: 81.3 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.007234, allocations: 12.86 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.007246, allocations: 3.984 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.007353, allocations: 78.09 kB / 297.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.007354, allocations: 0 / 297.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000312/0.007666, allocations: 109.6 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.007693, allocations: 51.41 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.007805, allocations: 172.9 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.007819, allocations: 29.64 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.007855, allocations: 96.09 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007884, allocations: 27.75 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.007921, allocations: 29.69 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.008, allocations: 322.8 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.008019, allocations: 10.83 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.008048, allocations: 25.7 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.008096, allocations: 36.52 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.008097, allocations: 0 / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.681e-05/0.008194, allocations: 84.42 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008206, allocations: 8 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.00821, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008221, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.008299, allocations: 23.92 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.008302, allocations: 4.031 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.008336, allocations: 4 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.008341, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 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 6.647e-05/0.008408, allocations: 116.7 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.008424, allocations: 11.92 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.008537, allocations: 75.08 kB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008539, allocations: 4 kB / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.00854, allocations: 0 / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.008545, allocations: 3.984 kB / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.008925, allocations: 291.5 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008927, allocations: 4 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.008965, allocations: 12 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.008977, allocations: 7.953 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008979, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.008988, allocations: 7.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.00899, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008991, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.009114, allocations: 215 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.009133, allocations: 8 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.009194, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.00922, allocations: 15.97 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.009233, allocations: 4.375 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.009285, allocations: 57.2 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009285, allocations: 0 / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.009496, allocations: 27.92 kB / 299.1 MB, free: 15.62 MB / 298.7 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 (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.001659/0.01115, allocations: 0.6427 MB / 299.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01127, allocations: 44.81 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.01128, allocations: 4 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.01133, allocations: 36.72 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01163, allocations: 180.9 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.01217, allocations: 220.2 kB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.01222, allocations: 67.33 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.01226, allocations: 12.98 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.01234, allocations: 67.36 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01234, allocations: 0 / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Templates: time 0.004276/0.01661, allocations: 2.044 MB / 302.5 MB, free: 12.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.973076174966991]