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.0008272/0.0008272, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001934, allocations: 449.8 kB / 10.44 MB, free: 248 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.0006925/0.0006925, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009073/0.0016, allocations: 479.5 kB / 11.82 MB, free: 2.34 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 0.9599/0.9599, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08863/1.048, 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.2623/0.2623, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02667/0.289, allocations: 13.09 MB / 291.5 MB, free: 7.344 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.24e-05, allocations: 4.406 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002343/0.002376, allocations: 1.815 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003599, allocations: 1.021 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.003672, allocations: 0 / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.00388, allocations: 63.56 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.004123, allocations: 87.55 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.004346, allocations: 87.53 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.004506, allocations: 107.6 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.004578, allocations: 4 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004709, allocations: 93.3 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.004783, allocations: 23.92 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004798, allocations: 8 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.004887, allocations: 43.92 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.004934, allocations: 27.86 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.004966, allocations: 19.94 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.005132, allocations: 115.5 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.005143, allocations: 0 / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005144, allocations: 0 / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.005154, allocations: 0 / 296.4 MB, free: 2.598 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.0004195/0.005573, allocations: 360.9 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.005601, allocations: 8.031 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.005635, allocations: 16.92 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005781, allocations: 158.4 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.005796, allocations: 4.359 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.005815, allocations: 8.375 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.005914, allocations: 61.7 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005923, allocations: 3.938 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.005929, allocations: 4 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005935, allocations: 0 / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.005956, allocations: 8 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.006151, allocations: 162 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.184e-05/0.006243, allocations: 93.34 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.006262, allocations: 16.84 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.006273, allocations: 3.938 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/0.006361, allocations: 70.09 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.006363, allocations: 0 / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002806/0.006643, allocations: 121.5 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.006669, allocations: 55.41 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.006788, allocations: 213.2 kB / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.006802, allocations: 29.7 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.006835, allocations: 96.11 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.00686, allocations: 23.84 kB / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.006889, allocations: 21.7 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.006962, allocations: 330.8 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.006977, allocations: 6.828 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.007001, allocations: 29.69 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.007039, allocations: 40.45 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.00704, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8e-05/0.00712, allocations: 84.44 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.007131, allocations: 4 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007135, allocations: 3.984 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.007146, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.007207, allocations: 20 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.00721, allocations: 0 / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.007238, allocations: 4 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007243, allocations: 3.984 kB / 298.5 MB, free: 400 kB / 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.472e-05/0.007308, allocations: 125.6 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.007321, allocations: 19.86 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.007414, allocations: 75.17 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007417, allocations: 4 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007418, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.007423, allocations: 3.984 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.007647, allocations: 299.4 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.007648, allocations: 0 / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.007677, allocations: 15.94 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.00769, allocations: 19.89 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.007692, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.007697, allocations: 4 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.007699, allocations: 4.031 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0077, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007803, allocations: 226.9 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.007819, allocations: 4 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.007858, allocations: 4 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.007882, allocations: 8.359 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.007892, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.007948, allocations: 75.77 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007948, allocations: 0 / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.008102, allocations: 27.98 kB / 299.3 MB, free: 15.42 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.00127/0.009372, allocations: 0.6411 MB / 300 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.009466, allocations: 44.77 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.009473, allocations: 8.094 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.009509, allocations: 28.78 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.009733, allocations: 188.4 kB / 300.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.01021, allocations: 260.2 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.01025, allocations: 75.33 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.01029, allocations: 12.97 kB / 300.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.01035, allocations: 75.45 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01035, allocations: 0 / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003595/0.01395, allocations: 2.066 MB / 302.7 MB, free: 12.34 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.865733614191413]