Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001081/0.001081, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00187/0.002951, 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.00108/0.00108, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002567, 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.081/1.081, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08972/1.17, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.311/0.311, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02985/0.3409, allocations: 13.23 MB / 292.8 MB, free: 6.398 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.893e-05, allocations: 3.984 kB / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003716/0.003745, allocations: 1.834 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005655, allocations: 1.021 MB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.005765, allocations: 7.938 kB / 297.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.006051, allocations: 51.69 kB / 297.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.006407, allocations: 99.42 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.006703, allocations: 83.53 kB / 297.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.006969, allocations: 135.5 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.007095, allocations: 12 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.007277, allocations: 99.72 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.007424, allocations: 39.91 kB / 297.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.00745, allocations: 4 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.007609, allocations: 63.84 kB / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.007687, allocations: 23.94 kB / 297.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.007739, allocations: 19.94 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.008005, allocations: 123.5 kB / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.782e-05/0.008023, allocations: 0 / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008025, allocations: 4 kB / 297.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.008036, allocations: 0 / 297.8 MB, free: 1.371 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006251/0.008661, allocations: 368.8 kB / 298.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.00871, allocations: 19.44 kB / 298.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.00876, allocations: 8.922 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.008981, allocations: 142.1 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.009, allocations: 8.312 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.00903, allocations: 12.36 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.009198, allocations: 77.73 kB / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.009209, allocations: 192 / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.009219, allocations: 384 / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.009228, allocations: 3.938 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.009282, allocations: 21.19 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.009612, allocations: 193.8 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.009859, allocations: 105.3 kB / 298.7 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.009892, allocations: 12.86 kB / 298.8 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.009907, allocations: 4 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.01007, allocations: 78.38 kB / 298.8 MB, free: 248 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 3.276e-06/0.01007, allocations: 0 / 298.8 MB, free: 248 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006498/0.01072, allocations: 211.7 kB / 299 MB, free: 36 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.01078, allocations: 55.41 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01093, allocations: 184.2 kB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.01095, allocations: 29.69 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.011, allocations: 96.31 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.01106, allocations: 47.61 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01111, allocations: 33.69 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01124, allocations: 326.8 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.01127, allocations: 18.81 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.01132, allocations: 25.7 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.01141, allocations: 63.27 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01141, allocations: 4 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001513/0.01156, allocations: 102.4 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01158, allocations: 4 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01158, allocations: 0 / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.0116, allocations: 4 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.0117, allocations: 27.92 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01171, allocations: 4 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.01175, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01176, allocations: 8 kB / 300 MB, free: 14.95 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 (15): * Single equations (assignments): 15 * 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 9.427e-05/0.01186, allocations: 120.7 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.01188, allocations: 15.92 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.01209, allocations: 121.3 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01209, allocations: 0 / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01209, allocations: 0 / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.0121, allocations: 4 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.01252, allocations: 356.2 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01252, allocations: 0 / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.01259, allocations: 27.94 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.01262, allocations: 15.95 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01262, allocations: 4 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01264, allocations: 8 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01264, allocations: 0 / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.01264, allocations: 4 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.01285, allocations: 239.9 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01288, allocations: 4 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.01295, allocations: 4 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.013, allocations: 15.92 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.01302, allocations: 7.984 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.01309, allocations: 56.69 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01309, allocations: 4 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01336, allocations: 31.94 kB / 301.1 MB, free: 13.86 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.002394/0.01575, allocations: 0.7127 MB / 301.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.01595, allocations: 68.7 kB / 301.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.01597, allocations: 4 kB / 301.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.01606, allocations: 56.36 kB / 301.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.01645, allocations: 188.4 kB / 302.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.01721, allocations: 277.2 kB / 302.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.01727, allocations: 71.83 kB / 302.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.81e-05/0.01735, allocations: 29.64 kB / 302.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01747, allocations: 79.34 kB / 302.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01747, allocations: 0 / 302.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.006291/0.02376, allocations: 2.607 MB / 305.1 MB, free: 10.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.996794017031789]