Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001355/0.001355, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.003005, 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.001034/0.001034, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002235, 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.052/1.052, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.161, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2706/0.2706, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02509/0.2956, allocations: 13.11 MB / 291.5 MB, free: 7.312 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.42e-05, allocations: 5.281 kB / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002357/0.002382, allocations: 1.806 MB / 294.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003547, allocations: 1.019 MB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.003618, allocations: 4 kB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.003804, allocations: 47.58 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.004047, allocations: 91.48 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.004237, allocations: 83.53 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.00438, allocations: 103.7 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.004451, allocations: 11.98 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004565, allocations: 83.75 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.004634, allocations: 23.91 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004648, allocations: 4 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.004728, allocations: 43.92 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.004771, allocations: 19.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.004798, allocations: 15.94 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.00495, allocations: 95.59 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.004963, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004964, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.004973, allocations: 7.938 kB / 296.4 MB, free: 2.625 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.000389/0.005362, allocations: 333.1 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.005391, allocations: 8.031 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.005424, allocations: 12.92 kB / 296.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.005559, allocations: 142.3 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.005574, allocations: 384 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.005591, allocations: 8.312 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.005687, allocations: 61.77 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.005696, allocations: 3.938 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.005704, allocations: 4 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005709, allocations: 4 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.00573, allocations: 7.984 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.005925, allocations: 165.9 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.006013, allocations: 93.28 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.006031, allocations: 12.84 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.006043, allocations: 4 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.91e-05/0.006132, allocations: 66.11 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.006133, allocations: 0 / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002819/0.006415, allocations: 121.6 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.006441, allocations: 51.41 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.006532, allocations: 165 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.006546, allocations: 25.7 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.006581, allocations: 96.11 kB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.006611, allocations: 35.72 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.00664, allocations: 17.72 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.006715, allocations: 330.7 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006732, allocations: 10.83 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.006754, allocations: 25.64 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.006794, allocations: 44.52 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006795, allocations: 0 / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.258e-05/0.006878, allocations: 76.44 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.006891, allocations: 4 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006896, allocations: 0 / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006909, allocations: 4 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.006975, allocations: 19.98 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.006978, allocations: 0 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.007005, allocations: 4 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.00701, allocations: 4.031 kB / 298.3 MB, free: 0.5234 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.498e-05/0.007075, allocations: 124.6 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.007088, allocations: 11.94 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.007188, allocations: 75.12 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.00719, allocations: 0 / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.007191, allocations: 3.938 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007194, allocations: 0 / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.007409, allocations: 291.5 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007411, allocations: 3.938 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.007442, allocations: 16.02 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007452, allocations: 11.95 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007454, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.007461, allocations: 4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007462, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007463, allocations: 4 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.804e-05/0.007561, allocations: 215 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.007575, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.007612, allocations: 8 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.007636, allocations: 7.984 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.007646, allocations: 384 / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.007686, allocations: 57.27 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007686, allocations: 0 / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.007831, allocations: 27.94 kB / 299.1 MB, free: 15.61 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.001395/0.009226, allocations: 0.652 MB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.009325, allocations: 40.77 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.009334, allocations: 7.984 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.009372, allocations: 28.78 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.009599, allocations: 184.9 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.01002, allocations: 216 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.809e-05/0.01006, allocations: 75.52 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.0101, allocations: 12.97 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.01016, allocations: 71.36 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01017, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003624/0.01379, allocations: 2.036 MB / 302.5 MB, free: 12.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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: 3.027323968708515]