Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001962/0.002983, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002424, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9558/0.9558, allocations: 173.4 MB / 186 MB, free: 7.516 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1671/1.123, allocations: 52.48 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1532/0.1532, allocations: 32.8 MB / 272 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.024/0.1772, allocations: 12.54 MB / 284.5 MB, free: 9.691 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.379e-05, allocations: 2.312 kB / 285.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002381/0.002405, allocations: 1.763 MB / 287.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003553, allocations: 0.8532 MB / 288.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.003638, allocations: 0 / 288.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.003893, allocations: 55.69 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.004101, allocations: 59.64 kB / 288.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.00441, allocations: 111.5 kB / 288.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004602, allocations: 91.64 kB / 288.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.004652, allocations: 15.98 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.004793, allocations: 67.84 kB / 288.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.004884, allocations: 27.91 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.004903, allocations: 4 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.004987, allocations: 35.92 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.005039, allocations: 19.88 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.005075, allocations: 15.94 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00522, allocations: 95.61 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.005229, allocations: 0 / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00523, allocations: 0 / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.005239, allocations: 0 / 289.1 MB, free: 5.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004468/0.005686, allocations: 347.7 kB / 289.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.00572, allocations: 8.031 kB / 289.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.005755, allocations: 12.92 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.00593, allocations: 161.2 kB / 289.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.005958, allocations: 4.375 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.005969, allocations: 384 / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.00608, allocations: 61.77 kB / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006089, allocations: 3.938 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.006097, allocations: 0 / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006103, allocations: 3.984 kB / 289.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.006126, allocations: 11.98 kB / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.466e-05/0.006221, allocations: 70.69 kB / 289.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.006303, allocations: 45.38 kB / 289.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.006323, allocations: 12.84 kB / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.006335, allocations: 0 / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.006439, allocations: 66.22 kB / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.00644, allocations: 3.938 kB / 289.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001286/0.006569, allocations: 53.62 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.006604, allocations: 63.33 kB / 290 MB, free: 4.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.006735, allocations: 208.6 kB / 290.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.006754, allocations: 29.7 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.006786, allocations: 96.11 kB / 290.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.00682, allocations: 15.89 kB / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.006848, allocations: 13.72 kB / 290.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.006958, allocations: 330.8 kB / 290.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.006979, allocations: 10.83 kB / 290.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.007002, allocations: 21.7 kB / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.007043, allocations: 35.3 kB / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007045, allocations: 0 / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.522e-05/0.007121, allocations: 64.5 kB / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007133, allocations: 4 kB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007137, allocations: 0 / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007148, allocations: 3.938 kB / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.007219, allocations: 19.92 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007221, allocations: 0 / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.007254, allocations: 8 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007259, allocations: 0 / 290.9 MB, free: 3.152 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 (7): * Single equations (assignments): 7 * 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.396e-05/0.007333, allocations: 116.6 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.007346, allocations: 7.984 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.007448, allocations: 74.8 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.00745, allocations: 0 / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007454, allocations: 3.938 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007458, allocations: 0 / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.829e-05/0.007546, allocations: 89.84 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.007548, allocations: 384 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.007573, allocations: 8 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.00759, allocations: 15.91 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.007593, allocations: 0 / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007599, allocations: 0 / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007601, allocations: 0 / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.007603, allocations: 7.938 kB / 291.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/0.007686, allocations: 86.77 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.007703, allocations: 3.938 kB / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.007734, allocations: 11.98 kB / 291.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.007763, allocations: 3.938 kB / 291.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.007776, allocations: 4 kB / 291.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.007845, allocations: 75.55 kB / 291.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007845, allocations: 0 / 291.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.007977, allocations: 16 kB / 291.4 MB, free: 2.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001267/0.009244, allocations: 0.5564 MB / 292 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.009349, allocations: 32.84 kB / 292 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.009359, allocations: 4 kB / 292 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.009394, allocations: 20.78 kB / 292 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.009592, allocations: 176.4 kB / 292.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.0101, allocations: 234.6 kB / 292.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.01014, allocations: 75.42 kB / 292.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.01017, allocations: 8.859 kB / 292.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.01023, allocations: 67.38 kB / 292.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01023, allocations: 0 / 292.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of Templates: time 0.003823/0.01406, allocations: 1.79 MB / 294.4 MB, free: 15.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.9140866734087467]