Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001148/0.001148, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.002987, 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.001385/0.001385, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003578/0.004964, 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.076/1.076, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09527/1.171, 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.2643/0.2643, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02393/0.2882, allocations: 13.23 MB / 292.8 MB, free: 6.379 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.515e-05, allocations: 4 kB / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002859/0.002884, allocations: 1.815 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.00426, allocations: 1.013 MB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.004339, allocations: 11.94 kB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.004552, allocations: 39.7 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.004811, allocations: 95.42 kB / 297.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.004998, allocations: 87.53 kB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.005206, allocations: 107.6 kB / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.005507, allocations: 4 kB / 297.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.005689, allocations: 82.61 kB / 297.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005801, allocations: 19.92 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.005823, allocations: 8 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.005923, allocations: 51.86 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.005984, allocations: 23.86 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.006021, allocations: 15.94 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.006214, allocations: 87.67 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.046e-05/0.006234, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.006236, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.006249, allocations: 0 / 297.6 MB, free: 1.52 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.0004908/0.00674, allocations: 337 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.006784, allocations: 12.92 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.006823, allocations: 8.922 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.006977, allocations: 145.6 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.006994, allocations: 12.31 kB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.007013, allocations: 384 / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.007125, allocations: 65.77 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007136, allocations: 4.172 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.007142, allocations: 384 / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007149, allocations: 3.938 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.007171, allocations: 7.938 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.007382, allocations: 165.9 kB / 298.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.007476, allocations: 89.34 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.007497, allocations: 12.86 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.007511, allocations: 4 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.007626, allocations: 74.09 kB / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.956e-06/0.007629, allocations: 3.984 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000311/0.00794, allocations: 117.5 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.007969, allocations: 51.41 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.008068, allocations: 165 kB / 298.9 MB, free: 136 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.008084, allocations: 29.7 kB / 298.9 MB, free: 100 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.008112, allocations: 88.12 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.008157, allocations: 39.72 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.008186, allocations: 17.72 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.008263, allocations: 326.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.008284, allocations: 14.81 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.008305, allocations: 17.72 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.008348, allocations: 48.44 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008349, allocations: 0 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.402e-05/0.008423, allocations: 68.56 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.008439, allocations: 7.938 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.008444, allocations: 4.031 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.008458, allocations: 7.938 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.00853, allocations: 16 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.008537, allocations: 7.984 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.008563, allocations: 384 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.00857, allocations: 4 kB / 299.6 MB, free: 15.4 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 6.387e-05/0.008634, allocations: 115.3 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.008647, allocations: 15.92 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.008755, allocations: 79.08 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008757, allocations: 3.938 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008758, allocations: 4 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008761, allocations: 4 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.008984, allocations: 287.5 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.008988, allocations: 3.938 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.009016, allocations: 12 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.009027, allocations: 7.953 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.009029, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009036, allocations: 4 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.009039, allocations: 7.984 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.009042, allocations: 3.969 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.009142, allocations: 213.8 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.009158, allocations: 4 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.009195, allocations: 4 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.009223, allocations: 7.984 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.009233, allocations: 3.938 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.009275, allocations: 57.27 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000143/0.009419, allocations: 27.89 kB / 300.4 MB, free: 14.49 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.00153/0.01095, allocations: 0.625 MB / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.01106, allocations: 36.78 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.01107, allocations: 4 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.01111, allocations: 37.09 kB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.01175, allocations: 188.4 kB / 301.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.01226, allocations: 208.9 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.01231, allocations: 71.34 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.01235, allocations: 12.97 kB / 301.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.01242, allocations: 67.36 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01242, allocations: 4.094 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003867/0.01629, allocations: 2.044 MB / 303.7 MB, free: 11.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.0862276619300246]