Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.0007577/0.0007577, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.00179, 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.0006975/0.0006975, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009434/0.001641, 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.002/1.002, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09602/1.098, 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.2953/0.2953, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04013/0.3354, allocations: 13.24 MB / 292.8 MB, free: 6.402 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.028e-05, allocations: 2.312 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002331/0.002352, allocations: 1.815 MB / 296 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003476, allocations: 1.021 MB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.003539, allocations: 7.938 kB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.003756, allocations: 83.62 kB / 297.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003982, allocations: 123.3 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.004155, allocations: 87.55 kB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004311, allocations: 115.6 kB / 297.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.004382, allocations: 4 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004506, allocations: 99.78 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.004598, allocations: 47.88 kB / 297.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004613, allocations: 7.938 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.004726, allocations: 47.86 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.00477, allocations: 15.94 kB / 297.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.004803, allocations: 15.94 kB / 297.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.005, allocations: 99.61 kB / 297.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.00501, allocations: 0 / 297.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005011, allocations: 0 / 297.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.00502, allocations: 0 / 297.8 MB, free: 1.414 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.0003964/0.005416, allocations: 360.9 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.005447, allocations: 12.92 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.005475, allocations: 4.938 kB / 298.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005623, allocations: 157.5 kB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005638, allocations: 4.375 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.005655, allocations: 4.375 kB / 298.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.005759, allocations: 65.75 kB / 298.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005767, allocations: 4.172 kB / 298.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.005774, allocations: 4.375 kB / 298.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005778, allocations: 3.938 kB / 298.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.005801, allocations: 15.92 kB / 298.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.005996, allocations: 158 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.006086, allocations: 89.34 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.006106, allocations: 12.84 kB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.006117, allocations: 4 kB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.006222, allocations: 66.16 kB / 298.7 MB, free: 376 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.006223, allocations: 0 / 298.7 MB, free: 376 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003013/0.006524, allocations: 117.5 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.006549, allocations: 55.41 kB / 298.9 MB, free: 184 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.006772, allocations: 193 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.006801, allocations: 29.7 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.006842, allocations: 96.09 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.006878, allocations: 23.8 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.006922, allocations: 29.69 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.007015, allocations: 326.8 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.007045, allocations: 6.828 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.007074, allocations: 25.7 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.007126, allocations: 40.45 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.007128, allocations: 8 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.692e-05/0.007225, allocations: 72.56 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.007243, allocations: 7.938 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.007249, allocations: 3.938 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007263, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.007356, allocations: 19.98 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.00736, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.007399, allocations: 4.375 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.007406, allocations: 0 / 299.7 MB, free: 15.25 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.776e-05/0.007493, allocations: 122.8 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.007512, allocations: 15.92 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.007664, allocations: 83.06 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007666, allocations: 0 / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007667, allocations: 0 / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007672, allocations: 4 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.007919, allocations: 291.4 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.007924, allocations: 7.938 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.00796, allocations: 11.98 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.007973, allocations: 7.953 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.007976, allocations: 4.031 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007984, allocations: 4 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007986, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.007988, allocations: 3.938 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.008104, allocations: 225.8 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.008124, allocations: 0 / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.008174, allocations: 4 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.008212, allocations: 7.922 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.00823, allocations: 11.94 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.008297, allocations: 65.55 kB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008297, allocations: 4 kB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.008467, allocations: 27.92 kB / 300.6 MB, free: 14.3 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.01004, allocations: 0.6101 MB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01019, allocations: 48.83 kB / 301.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.01021, allocations: 4 kB / 301.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.01026, allocations: 36.94 kB / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01058, allocations: 180.4 kB / 301.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.01127, allocations: 238.7 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.173e-05/0.01133, allocations: 71.34 kB / 301.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.01139, allocations: 17.16 kB / 301.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.01149, allocations: 67.36 kB / 301.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01149, allocations: 0 / 301.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Templates: time 0.004163/0.01565, allocations: 2.052 MB / 303.9 MB, free: 11.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.041839472949505]