Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001105/0.001105, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002805, 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.001061/0.001061, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002252, 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.016/1.016, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08637/1.102, 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.2856/0.2856, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02334/0.309, 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.392e-05, allocations: 4.812 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003379/0.003403, allocations: 1.833 MB / 294.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.005973, allocations: 1.037 MB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.006073, allocations: 4 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.006319, allocations: 107.5 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.006528, allocations: 127.4 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.006663, allocations: 91.47 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.006818, allocations: 139.7 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.006897, allocations: 14.23 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.007031, allocations: 107.7 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.007118, allocations: 59.86 kB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.007133, allocations: 7.938 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.007219, allocations: 63.86 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.007268, allocations: 31.92 kB / 296.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.007299, allocations: 23.88 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.007454, allocations: 123.5 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.007464, allocations: 0 / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007465, allocations: 4 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.007475, allocations: 0 / 296.7 MB, free: 2.332 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006346/0.00811, allocations: 392.7 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.008135, allocations: 8.031 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.008167, allocations: 12.92 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.008331, allocations: 162.4 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.008344, allocations: 384 / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.008363, allocations: 8.359 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.008464, allocations: 78.67 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.008473, allocations: 3.938 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.008481, allocations: 8 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.008485, allocations: 4 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.008518, allocations: 19.92 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.008743, allocations: 185.9 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008873, allocations: 101.3 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.008894, allocations: 16.84 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.008905, allocations: 7.938 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.152e-05/0.008996, allocations: 70.14 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.008998, allocations: 0 / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004159/0.009413, allocations: 214 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.009441, allocations: 63.39 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.009549, allocations: 201.8 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.009563, allocations: 29.7 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.009654, allocations: 104 kB / 298.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.009689, allocations: 51.58 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.009721, allocations: 33.69 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.009784, allocations: 330.7 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.009804, allocations: 18.81 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.009833, allocations: 42.81 kB / 298.8 MB, free: 44 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.009899, allocations: 59.33 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009901, allocations: 4.109 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.553e-05/0.009986, allocations: 96.42 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.009997, allocations: 11.94 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01, allocations: 0 / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.01001, allocations: 0 / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.01007, allocations: 27.98 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.01008, allocations: 4 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.0101, allocations: 4.031 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01011, allocations: 11.98 kB / 299 MB, free: 15.82 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 (16): * Single equations (assignments): 16 * 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 5.965e-05/0.01017, allocations: 135.1 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.01018, allocations: 11.98 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.0103, allocations: 107 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.0103, allocations: 4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.0103, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01031, allocations: 3.984 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.01055, allocations: 364.1 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01055, allocations: 0 / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.01059, allocations: 23.98 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.0106, allocations: 19.91 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.01061, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.01061, allocations: 4 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01062, allocations: 3.938 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01062, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01073, allocations: 251.8 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01075, allocations: 4 kB / 299.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.01079, allocations: 7.938 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.01082, allocations: 20 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01083, allocations: 8 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.878e-05/0.01088, allocations: 69.92 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.01103, allocations: 35.92 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001586/0.01261, allocations: 0.7328 MB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01271, allocations: 68.83 kB / 300.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.01272, allocations: 0 / 300.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.01277, allocations: 56.7 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01302, allocations: 186.9 kB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.01347, allocations: 300.8 kB / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.01351, allocations: 75.83 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.01356, allocations: 29.75 kB / 301.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.01363, allocations: 75.36 kB / 301.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01363, allocations: 0 / 301.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.004227/0.01786, allocations: 2.602 MB / 304.2 MB, free: 10.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.9681863989681005]