Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009546/0.0009546, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009559/0.0009559, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9974/0.9974, allocations: 177 MB / 204.8 MB, free: 5.566 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.2809/0.2809, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.833e-05, allocations: 3.859 kB / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002686/0.002704, allocations: 1.766 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004145, allocations: 1.012 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.004223, allocations: 4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.00452, allocations: 43.7 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.00482, allocations: 99.47 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.005012, allocations: 83.59 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.005177, allocations: 103.7 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.00526, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.005348, allocations: 67.75 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.005417, allocations: 19.92 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005434, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.005524, allocations: 47.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.005578, allocations: 27.86 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.005618, allocations: 15.94 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.005812, allocations: 107.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005814, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005815, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005819, allocations: 4 kB / 382.2 MB, free: 14.56 MB / 362.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.0004738/0.006293, allocations: 451.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.006332, allocations: 19.97 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.006381, allocations: 8.891 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.006565, allocations: 156.9 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.006583, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.006609, allocations: 4.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.006732, allocations: 66.88 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.006742, allocations: 192 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006753, allocations: 4.375 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.006763, allocations: 3.938 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.006804, allocations: 15.97 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.007145, allocations: 295.8 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.007261, allocations: 51.11 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.007295, allocations: 19.67 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.007311, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.007416, allocations: 72.98 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007417, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004261/0.007843, allocations: 157.3 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003094/0.008152, allocations: 51.41 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.00832, allocations: 241.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.008335, allocations: 25.7 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.008397, allocations: 154.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.00843, allocations: 27.78 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.008471, allocations: 31.38 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.008601, allocations: 0.4923 MB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.008632, allocations: 19.92 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.008675, allocations: 39.3 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.008741, allocations: 47.38 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008742, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001341/0.008876, allocations: 97.5 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.008887, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008892, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.008908, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.008987, allocations: 19.98 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.008992, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.00903, allocations: 7.953 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.009038, allocations: 7.938 kB / 384.8 MB, free: 11.79 MB / 362.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.177e-05/0.009119, allocations: 170.9 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.009141, allocations: 19.92 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.009306, allocations: 107.1 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009308, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.009311, allocations: 384 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.009316, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.009635, allocations: 392.9 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.009637, allocations: 8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.009668, allocations: 12 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009671, allocations: 3.984 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.009679, allocations: 4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009681, allocations: 4.031 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009682, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.00986, allocations: 255.4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.009874, allocations: 11.91 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.009895, allocations: 8 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.009953, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.009991, allocations: 7.984 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.01, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01011, allocations: 184.2 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01011, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01037, allocations: 27.94 kB / 386 MB, free: 10.51 MB / 362.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.001116/0.01148, allocations: 429 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01162, allocations: 59.55 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01163, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.01169, allocations: 27.67 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.012, allocations: 35.91 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.01239, allocations: 230 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.01244, allocations: 71.28 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.01249, allocations: 25.25 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.01252, allocations: 20.48 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01252, allocations: 0 / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of Templates: time 0.003939/0.01646, allocations: 1.861 MB / 388.7 MB, free: 7.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.379796920809895]