Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0007917/0.0007917, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001905, 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.0007004/0.0007004, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009299/0.00163, 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.036/1.036, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.13, allocations: 53.65 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.2702/0.2702, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02706/0.2972, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.059e-05, allocations: 4.969 kB / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003442/0.003473, allocations: 1.811 MB / 294.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.006311, allocations: 1.774 MB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.006399, allocations: 0 / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.006635, allocations: 39.7 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.006978, allocations: 103.4 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.007229, allocations: 75.56 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.007438, allocations: 119.6 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.007533, allocations: 7.984 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.007709, allocations: 83.81 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.007839, allocations: 27.91 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.00786, allocations: 8 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.008171, allocations: 115.7 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.008234, allocations: 19.88 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.00827, allocations: 12 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.008561, allocations: 147.4 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.008574, allocations: 0 / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.008575, allocations: 4 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.008586, allocations: 0 / 297.3 MB, free: 1.746 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.000548/0.009134, allocations: 352.9 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.009169, allocations: 12.03 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.009209, allocations: 4.938 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.009414, allocations: 150.1 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.009434, allocations: 4.375 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.009458, allocations: 4.375 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.009613, allocations: 100.6 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.009623, allocations: 0 / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.009633, allocations: 8 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.009638, allocations: 4 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.009676, allocations: 10.81 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.009933, allocations: 173.9 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.01004, allocations: 81.3 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.01007, allocations: 16.86 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.01008, allocations: 0 / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.01019, allocations: 66.19 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.01019, allocations: 4 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003424/0.01053, allocations: 117.5 kB / 298.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.01056, allocations: 55.41 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.0107, allocations: 158.6 kB / 298.6 MB, free: 312 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01071, allocations: 29.7 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.01076, allocations: 96.11 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.01079, allocations: 23.72 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.01083, allocations: 25.7 kB / 298.7 MB, free: 120 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01095, allocations: 322.8 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.01097, allocations: 10.83 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.01103, allocations: 60.25 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.01109, allocations: 44.47 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01109, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001142/0.0112, allocations: 80.47 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01122, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01122, allocations: 3.938 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01124, allocations: 4 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.01132, allocations: 19.92 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01132, allocations: 4 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.01136, allocations: 8.016 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01137, allocations: 8 kB / 299.3 MB, free: 15.52 MB / 298.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 7.783e-05/0.01145, allocations: 120.6 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.01147, allocations: 8 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.0116, allocations: 74.38 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.0116, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.0116, allocations: 4 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01161, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.0119, allocations: 295.4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.0119, allocations: 32 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.01194, allocations: 16 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.01196, allocations: 7.953 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01196, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.01197, allocations: 3.984 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01197, allocations: 4 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.01197, allocations: 0 / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.01211, allocations: 219 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01213, allocations: 384 / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.01219, allocations: 8 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.01222, allocations: 7.984 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01224, allocations: 12 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.0123, allocations: 46.69 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0123, allocations: 0 / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.01258, allocations: 51.8 kB / 300.1 MB, free: 14.59 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.002062/0.01465, allocations: 0.7864 MB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.01477, allocations: 40.83 kB / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.01477, allocations: 0 / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.01482, allocations: 32.78 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.0151, allocations: 185.1 kB / 301.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.01558, allocations: 207.5 kB / 301.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.01561, allocations: 67.53 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01566, allocations: 17.42 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.01574, allocations: 71.36 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01574, allocations: 4 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004539/0.02028, allocations: 2.809 MB / 304.4 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.974475624039769]