Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002367, 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.0007807/0.0007807, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.001992, 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.024/1.024, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08686/1.111, 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.2672/0.2672, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02824/0.2954, allocations: 13.11 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.172e-05, allocations: 3.719 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002288/0.00231, allocations: 1.807 MB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003567, allocations: 1.018 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.003645, allocations: 0 / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.003853, allocations: 55.56 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.004117, allocations: 95.48 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.004333, allocations: 79.55 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.004527, allocations: 103.6 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.004614, allocations: 15.98 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.004764, allocations: 79.75 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.00485, allocations: 27.91 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.004867, allocations: 4 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.004971, allocations: 47.86 kB / 296.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.005024, allocations: 19.94 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.005054, allocations: 15.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005234, allocations: 95.59 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.005249, allocations: 4 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00525, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.005262, 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.0004964/0.005758, allocations: 341 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.005794, allocations: 12.03 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.005834, allocations: 8.922 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.006011, allocations: 154.5 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.006029, allocations: 384 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.006051, allocations: 4.375 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.006169, allocations: 65.75 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006178, allocations: 7.875 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.006188, allocations: 3.984 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006194, allocations: 4 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.006217, allocations: 8 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.006451, allocations: 177.9 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.54e-05/0.006546, allocations: 81.3 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.006567, allocations: 8.859 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006581, allocations: 4 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.006705, allocations: 70.09 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.006706, allocations: 0 / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003461/0.007052, allocations: 117.8 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.007083, allocations: 55.41 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.007195, allocations: 180.8 kB / 297.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.007213, allocations: 25.7 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.007248, allocations: 100.1 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.007277, allocations: 27.73 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.007311, allocations: 21.7 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.0074, allocations: 330.7 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.00742, allocations: 10.83 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.007443, allocations: 21.7 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.007489, allocations: 44.52 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00749, allocations: 0 / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.579e-05/0.007576, allocations: 80.44 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007592, allocations: 4 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007597, allocations: 4 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007611, allocations: 0 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.007686, allocations: 19.98 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.00769, allocations: 3.938 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.007719, allocations: 0 / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.007727, allocations: 8 kB / 298.3 MB, free: 0.5 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 7.444e-05/0.007802, allocations: 123.6 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.007815, allocations: 7.938 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.007932, allocations: 79.06 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007934, allocations: 4 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007935, allocations: 0 / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007939, allocations: 0 / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.008202, allocations: 303.4 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008204, allocations: 3.938 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.008236, allocations: 8 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.008251, allocations: 19.94 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008254, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.00826, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008262, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.008265, allocations: 4 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.008401, allocations: 223 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.008418, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.008458, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.008488, allocations: 11.98 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.008507, allocations: 0 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.008553, allocations: 56.7 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008553, allocations: 4 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.008701, allocations: 23.92 kB / 299.2 MB, free: 15.57 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.001606/0.01031, allocations: 0.6469 MB / 299.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01042, allocations: 52.75 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01043, allocations: 0 / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.01048, allocations: 28.84 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01078, 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.000528/0.01131, allocations: 235.6 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.01135, allocations: 71.33 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.0114, allocations: 17.16 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.01148, allocations: 71.36 kB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01148, allocations: 0 / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Templates: time 0.004378/0.01585, allocations: 2.044 MB / 302.5 MB, free: 12.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.9770601550117135]