Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001091/0.001091, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.002695, 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.001011/0.001011, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002661, 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 0.9186/0.9186, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09283/1.011, 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.303/0.303, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02302/0.326, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.873e-05, allocations: 3.719 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002333/0.002351, allocations: 1.807 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.004126, allocations: 1.786 MB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.004202, allocations: 0 / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.00437, allocations: 31.73 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.004607, allocations: 103.4 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.004771, allocations: 83.53 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.004904, allocations: 111.6 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.004969, allocations: 4 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.005089, allocations: 87.8 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005191, allocations: 31.89 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.005206, allocations: 8 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.005363, allocations: 107.8 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.005404, allocations: 27.86 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.005429, allocations: 12 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.005613, allocations: 151.4 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.005623, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005624, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.005631, allocations: 0 / 297.3 MB, free: 1.758 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.0003915/0.006023, allocations: 344.9 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.00605, allocations: 12.03 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.006087, allocations: 8.922 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.00623, allocations: 146.2 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.006247, allocations: 12.3 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.006264, allocations: 384 / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006374, allocations: 104.6 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.00638, allocations: 0 / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.006387, allocations: 0 / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006392, allocations: 4 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.006415, allocations: 10.81 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.006598, allocations: 174 kB / 298.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.006679, allocations: 85.23 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.006697, allocations: 16.8 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.006705, allocations: 0 / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/0.006781, allocations: 66.2 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006782, allocations: 0 / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002485/0.00703, allocations: 113.5 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.007051, allocations: 55.41 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.007138, allocations: 167.4 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.007151, allocations: 25.7 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.007178, allocations: 96.11 kB / 298.7 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.007199, allocations: 27.78 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.00723, allocations: 25.7 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.007302, allocations: 326.8 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.007317, allocations: 14.77 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.007347, allocations: 52.27 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.007384, allocations: 44.45 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007385, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.394e-05/0.007449, allocations: 76.5 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.007458, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.007461, allocations: 8 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.007469, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.007523, allocations: 15.98 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007528, allocations: 7.938 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.007553, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.007559, allocations: 4 kB / 299.3 MB, free: 15.54 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 5.44e-05/0.007613, allocations: 122.6 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.007625, allocations: 7.984 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.007708, allocations: 74.39 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00771, allocations: 3.984 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007712, allocations: 8 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007715, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.007898, allocations: 291.4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007899, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.007923, allocations: 15.98 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.007933, allocations: 11.94 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.00794, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.007945, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.007947, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007948, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.00804, allocations: 223 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.008055, allocations: 384 / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.008092, allocations: 4 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.008113, allocations: 11.98 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.008123, allocations: 4 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.008159, allocations: 45.88 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008159, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008323, allocations: 51.81 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.001569/0.009892, allocations: 0.7924 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.009992, allocations: 36.84 kB / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.009998, allocations: 0 / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.01003, 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.0001966/0.01023, allocations: 181.4 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.0003588/0.01059, allocations: 211.5 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.01062, allocations: 63.34 kB / 301.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.998e-05/0.01066, allocations: 17.42 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.01073, allocations: 79.34 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01073, allocations: 4 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Templates: time 0.003672/0.0144, allocations: 2.805 MB / 304.3 MB, free: 10.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.9277375349774957]