Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.00103/0.00103, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001126/0.001126, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.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.2646/0.2646, allocations: 34.85 MB / 296.6 MB, free: 480 kB / 266.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.79e-05, allocations: 6.312 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00203/0.002048, allocations: 1.766 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003257, allocations: 1.009 MB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.003308, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.003509, allocations: 51.69 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003718, allocations: 111.5 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.003836, allocations: 79.61 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003953, allocations: 104.4 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.004008, allocations: 11.97 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.004079, allocations: 55.78 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.004135, allocations: 31.89 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.004148, allocations: 4 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.004209, allocations: 43.92 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.00425, allocations: 35.84 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.004278, allocations: 19.94 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004408, allocations: 111.6 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00441, allocations: 0 / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004411, allocations: 3.938 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004414, allocations: 4 kB / 329.4 MB, free: 3.633 MB / 298.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.0003315/0.004745, allocations: 341.3 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.004773, allocations: 12.03 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.0048, allocations: 12.92 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004939, allocations: 166.4 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004952, allocations: 384 / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.004967, allocations: 4.375 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.005052, allocations: 65.77 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00506, allocations: 4.125 kB / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.005066, allocations: 384 / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005074, allocations: 11.88 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.005095, allocations: 7.984 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.005263, allocations: 166 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.005343, allocations: 85.28 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.00536, allocations: 8.859 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.005369, allocations: 8 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.005437, allocations: 70.14 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.005438, allocations: 0 / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002457/0.005684, allocations: 121.5 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.005709, allocations: 51.41 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.005825, allocations: 212 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.005838, allocations: 29.7 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.005867, allocations: 96.09 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.005891, allocations: 31.77 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.005916, allocations: 21.72 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.005987, allocations: 330.8 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.006003, allocations: 14.81 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.006023, allocations: 21.7 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.006064, allocations: 48.45 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006064, allocations: 0 / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.729e-05/0.006132, allocations: 76.42 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.006142, allocations: 7.938 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006147, allocations: 4 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006158, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.006207, allocations: 20.02 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006209, allocations: 384 / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.006233, allocations: 4 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006238, allocations: 0 / 331.4 MB, free: 1.438 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 5.697e-05/0.006295, allocations: 116.7 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.00631, allocations: 19.92 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.006399, allocations: 79.06 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006402, allocations: 4 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006403, allocations: 0 / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006405, allocations: 0 / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.006665, allocations: 303.4 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.006668, allocations: 3.938 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.006695, allocations: 11.98 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.006698, allocations: 4 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.006704, allocations: 0 / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.006707, allocations: 4.172 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006708, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.006809, allocations: 215.1 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.006824, allocations: 23.83 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.00684, allocations: 4 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.006881, allocations: 4.031 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.006904, allocations: 11.92 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.006916, allocations: 4 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.306e-05/0.006969, allocations: 76.78 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006969, allocations: 0 / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.007107, allocations: 27.94 kB / 332.3 MB, free: 480 kB / 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.001154/0.008261, allocations: 0.5666 MB / 332.9 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.008337, allocations: 44.77 kB / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.008339, allocations: 0 / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.008368, allocations: 28.78 kB / 333 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.008533, allocations: 31.91 kB / 333 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.008839, allocations: 252.7 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.008881, allocations: 75.33 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.008913, allocations: 17.27 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.008972, allocations: 67.36 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008973, allocations: 0 / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.003353/0.01233, allocations: 2.044 MB / 335.4 MB, free: 13.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.016084909439087]