Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0007949/0.0007949, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.00186, 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.0007017/0.0007017, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009582/0.00166, 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.042/1.042, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09278/1.135, allocations: 53.65 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.254/0.254, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02456/0.2786, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.167e-05, allocations: 2.969 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002206/0.002227, allocations: 1.809 MB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.00402, allocations: 1.778 MB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.169e-05/0.004092, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.004283, allocations: 39.66 kB / 296.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.00454, allocations: 103.4 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.004726, allocations: 79.55 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004885, allocations: 115.6 kB / 296.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.9e-05/0.004964, allocations: 7.984 kB / 296.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005086, allocations: 83.81 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005198, allocations: 31.89 kB / 297 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.005216, allocations: 8 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.005402, allocations: 107.8 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.005448, allocations: 19.94 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.00548, allocations: 15.94 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.005701, allocations: 151.4 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.005713, allocations: 0 / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005714, allocations: 0 / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.005725, allocations: 4 kB / 297.3 MB, free: 1.762 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.0004508/0.006176, allocations: 345 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.006206, allocations: 15.97 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.006242, allocations: 4.938 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.006413, allocations: 146.2 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006429, allocations: 4.375 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.006449, allocations: 384 / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.006583, allocations: 108.5 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.006591, allocations: 0 / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.006597, allocations: 4 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006604, allocations: 4 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.006628, allocations: 10.81 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.00684, allocations: 174 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.006929, allocations: 85.23 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.006948, allocations: 12.8 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.006959, allocations: 0 / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/0.007054, allocations: 70.19 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.007055, allocations: 0 / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003012/0.007357, allocations: 117.5 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.007383, allocations: 55.41 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.007487, allocations: 160.2 kB / 298.6 MB, free: 332 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007502, allocations: 25.7 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.007538, allocations: 96.11 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.007563, allocations: 27.77 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.007598, allocations: 21.72 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.007691, allocations: 326.8 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.007709, allocations: 10.83 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.007745, allocations: 56.2 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.007787, allocations: 48.48 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007788, allocations: 0 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.782e-05/0.007866, allocations: 76.5 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007877, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007881, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007895, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.007958, allocations: 15.98 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007962, allocations: 4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.007992, allocations: 3.953 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.007998, allocations: 11.97 kB / 299.3 MB, free: 15.55 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 6.575e-05/0.008064, allocations: 128.5 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.008076, allocations: 4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.008178, allocations: 74.44 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008181, allocations: 7.922 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.008183, allocations: 4 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008186, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.008415, allocations: 295.4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008417, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.008448, allocations: 16.03 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.008461, allocations: 11.94 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008463, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00847, allocations: 3.984 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.008472, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008473, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.008576, allocations: 215 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008591, allocations: 384 / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.008631, allocations: 4 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.008657, allocations: 11.98 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.008669, allocations: 4 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.008711, allocations: 51.5 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008711, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001959/0.008907, allocations: 55.8 kB / 300.1 MB, free: 14.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.001739/0.01065, allocations: 0.7822 MB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01078, allocations: 40.78 kB / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.01079, allocations: 0 / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.01083, allocations: 28.78 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01107, allocations: 185.2 kB / 301.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.01157, allocations: 207.5 kB / 301.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.0116, allocations: 63.53 kB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.01165, allocations: 25.41 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.01174, allocations: 75.36 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01174, allocations: 4 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Templates: time 0.00446/0.0162, allocations: 2.812 MB / 304.4 MB, free: 10.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.98815502692014]