Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0007773/0.0007773, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001928, 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.001028/0.001028, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002413, 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.105/1.105, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09163/1.197, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2575/0.2575, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02598/0.2835, allocations: 13.1 MB / 291.5 MB, free: 7.352 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 3.938 kB / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.109e-05, allocations: 4.812 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002159/0.002181, allocations: 1.806 MB / 294.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003353, allocations: 1.019 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.003421, allocations: 0 / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.003606, allocations: 55.56 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.003828, allocations: 95.48 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.004014, allocations: 79.55 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.004157, allocations: 103.6 kB / 296.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.004226, allocations: 8 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.004346, allocations: 87.73 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.004415, allocations: 27.91 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.004428, allocations: 4 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.004507, allocations: 39.94 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.004552, allocations: 23.92 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.00458, allocations: 15.94 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004738, allocations: 103.5 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.004749, allocations: 4 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.00475, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.004758, allocations: 0 / 296.4 MB, free: 2.645 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.0003643/0.005122, allocations: 337 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.00515, allocations: 12.03 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.005179, allocations: 8.922 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005312, allocations: 150.6 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005325, allocations: 4.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.005341, allocations: 384 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.005434, allocations: 65.7 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.005442, allocations: 7.938 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.005447, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.005451, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.005472, allocations: 7.984 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.00566, allocations: 177.9 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.005744, allocations: 85.3 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.005763, allocations: 12.8 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005773, allocations: 4 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/0.005859, allocations: 74.09 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.005861, allocations: 3.984 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000266/0.006127, allocations: 109.6 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.00615, allocations: 51.41 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006251, allocations: 184.8 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.006265, allocations: 37.7 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.006295, allocations: 92.11 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.006319, allocations: 27.73 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.00635, allocations: 25.7 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.006421, allocations: 326.8 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.006436, allocations: 6.828 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.006459, allocations: 29.64 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.0065, allocations: 40.52 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.0065, allocations: 0 / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.95e-05/0.00658, allocations: 80.44 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006592, allocations: 8 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006596, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.006605, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.006673, allocations: 19.98 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006675, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.006703, allocations: 4 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006709, allocations: 4 kB / 298.3 MB, free: 0.5078 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.164e-05/0.00677, allocations: 120.6 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.006784, allocations: 15.94 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.006883, allocations: 75.16 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006886, allocations: 0 / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006887, allocations: 0 / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00689, allocations: 0 / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.007119, allocations: 299.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007121, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.007149, allocations: 19.92 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.007161, allocations: 11.91 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007163, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.007168, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.00717, allocations: 8.031 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007172, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.633e-05/0.007268, allocations: 223 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007282, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.007319, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.007342, allocations: 11.98 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.007353, allocations: 4.375 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.007396, allocations: 52.7 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007396, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.007541, allocations: 23.94 kB / 299.2 MB, free: 15.58 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.001396/0.008937, allocations: 0.6478 MB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.00904, allocations: 52.75 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.009049, allocations: 12.03 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.009085, allocations: 24.84 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.009322, allocations: 176.4 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.009804, allocations: 231.6 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.009845, allocations: 75.33 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.009886, allocations: 13.06 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.00995, allocations: 67.38 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.009952, allocations: 0 / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003705/0.01366, allocations: 2.048 MB / 302.5 MB, free: 12.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.9865239011123776]