Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001954/0.002979, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002815, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08987/1.095, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2677/0.2677, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02756/0.2953, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.841e-05, allocations: 2.312 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003265/0.003284, allocations: 1.813 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.00499, allocations: 1.017 MB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.005084, allocations: 3.938 kB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.00531, allocations: 47.7 kB / 297.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.005603, allocations: 99.41 kB / 297.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.005847, allocations: 79.55 kB / 297.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.006051, allocations: 103.6 kB / 297.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.006145, allocations: 11.98 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.006312, allocations: 79.81 kB / 297.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.006406, allocations: 23.91 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.006424, allocations: 4 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.006533, allocations: 47.86 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.006594, allocations: 31.86 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.006632, allocations: 15.94 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.006831, allocations: 87.67 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.006843, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006844, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.006855, allocations: 4 kB / 297.6 MB, free: 1.5 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.0005565/0.007412, allocations: 344.9 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.007452, allocations: 8.922 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.007497, allocations: 8.938 kB / 298 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.007691, allocations: 150.3 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.007711, allocations: 12.36 kB / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.007733, allocations: 384 / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.007871, allocations: 61.77 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007882, allocations: 4.188 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.00789, allocations: 384 / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.007899, allocations: 3.938 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.007934, allocations: 7.938 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.008544, allocations: 170 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.008677, allocations: 81.3 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.008706, allocations: 16.84 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008724, allocations: 4 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.008867, allocations: 70.14 kB / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.008868, allocations: 0 / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.009293, allocations: 121.4 kB / 298.7 MB, free: 360 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.009332, allocations: 51.41 kB / 298.7 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.009493, allocations: 177.3 kB / 298.9 MB, free: 104 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.009514, allocations: 29.7 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.00957, allocations: 96.11 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.009607, allocations: 23.84 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.009651, allocations: 25.7 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.009764, allocations: 326.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.009791, allocations: 10.83 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.009825, allocations: 21.7 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.00989, allocations: 44.45 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009892, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.01001, allocations: 72.56 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.01003, allocations: 7.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01004, allocations: 4 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01005, allocations: 7.969 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.01015, allocations: 19.98 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01015, allocations: 3.938 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.01019, allocations: 384 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.0102, allocations: 4 kB / 299.6 MB, free: 15.37 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 8.659e-05/0.01029, allocations: 127.3 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.01031, allocations: 7.938 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.01045, allocations: 83.06 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.01045, allocations: 7.984 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01045, allocations: 4 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01046, allocations: 0 / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.01075, allocations: 291.4 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01075, allocations: 3.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.0108, allocations: 15.98 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.01081, allocations: 7.953 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.01082, allocations: 4 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01082, allocations: 0 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01083, allocations: 0 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01083, allocations: 3.938 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01098, allocations: 221.6 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.011, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.01107, allocations: 4 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01109, allocations: 3.984 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01111, allocations: 7.938 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.089e-05/0.01117, allocations: 51.64 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01117, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.0114, allocations: 20 kB / 300.4 MB, free: 14.46 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.001944/0.01334, allocations: 0.6188 MB / 301.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.01349, allocations: 40.78 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.0135, allocations: 0 / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.01356, allocations: 37 kB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.01393, allocations: 197.5 kB / 301.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.01452, allocations: 220 kB / 301.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.01457, allocations: 71.33 kB / 301.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.01462, allocations: 12.97 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.0147, allocations: 67.36 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01471, allocations: 0 / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.004649/0.01935, allocations: 2.054 MB / 303.8 MB, free: 11.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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: 3.037849302403629]