Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001338/0.001338, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009802/0.0009802, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 0.9496/0.9496, allocations: 177 MB / 205.2 MB, free: 5.574 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.2923/0.2923, allocations: 34.86 MB / 296.6 MB, free: 500 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.21e-05, allocations: 11.66 kB / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003031/0.003054, allocations: 1.753 MB / 380.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.004563, allocations: 1.019 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.004647, allocations: 3.938 kB / 381.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.004938, allocations: 35.77 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.005249, allocations: 99.42 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.005436, allocations: 79.66 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.005639, allocations: 103.6 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.005731, allocations: 11.98 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.005813, allocations: 51.84 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.005885, allocations: 35.89 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.0059, allocations: 4 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.00597, allocations: 43.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.006018, allocations: 19.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.006054, allocations: 23.86 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.006215, allocations: 99.59 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006219, allocations: 4 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006219, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.006223, allocations: 0 / 382.2 MB, free: 14.89 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.0004335/0.006656, allocations: 443.9 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006691, allocations: 16.03 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.006737, allocations: 12.84 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.006898, allocations: 157.1 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.006918, allocations: 8.375 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.006935, allocations: 4.312 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.007054, allocations: 62.94 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007064, allocations: 192 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.007074, allocations: 4.359 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.007083, allocations: 3.938 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.007115, allocations: 8 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.007394, allocations: 291.8 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007497, allocations: 55.11 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.007528, allocations: 19.67 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.00754, allocations: 0 / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/0.007639, allocations: 68.98 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.00764, allocations: 0 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003602/0.008, allocations: 149.4 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.008032, allocations: 59.41 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.008163, allocations: 234.3 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.008175, allocations: 33.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.008226, allocations: 146.9 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.008251, allocations: 31.72 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.008283, allocations: 31.38 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.00839, allocations: 0.4923 MB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.008414, allocations: 15.98 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.008452, allocations: 31.31 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.008508, allocations: 55.34 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.008509, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001009/0.00861, allocations: 97.47 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.008621, allocations: 8 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.008626, allocations: 0 / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.008637, allocations: 0 / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.008702, allocations: 19.92 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.008706, allocations: 4 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.008734, allocations: 4 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.008741, allocations: 4.375 kB / 384.8 MB, free: 12.14 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 6.651e-05/0.008808, allocations: 160.6 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.008826, allocations: 23.91 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.008962, allocations: 99.08 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.008965, allocations: 4 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.008969, allocations: 7.938 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008973, allocations: 3.984 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.009236, allocations: 392.9 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009238, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.009262, allocations: 8 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009265, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.009272, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009274, allocations: 8.016 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009275, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.009414, allocations: 259.4 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.009426, allocations: 15.89 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009442, allocations: 4 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.009484, allocations: 0 / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.009514, allocations: 11.98 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.009526, allocations: 7.938 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.101e-05/0.009597, allocations: 167.2 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009597, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.009768, allocations: 27.92 kB / 385.9 MB, free: 10.87 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.0008808/0.01065, allocations: 431.1 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01076, allocations: 55.53 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01076, allocations: 0 / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.0108, allocations: 31.67 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01102, allocations: 35.67 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.01134, allocations: 226 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.01138, allocations: 67.33 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.437e-05/0.01141, allocations: 21.27 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.01144, allocations: 20.5 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01144, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003369/0.01481, allocations: 1.863 MB / 388.7 MB, free: 8.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.0401930699590594]