Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001342/0.001342, allocations: 79.69 kB / 21.7 MB, free: 2.852 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: 159.6 kB / 24.99 MB, free: 8.801 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.9919/0.9919, allocations: 177 MB / 205.2 MB, free: 5.621 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.271/0.271, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.403e-05, allocations: 2.312 kB / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002233/0.002257, allocations: 1.755 MB / 380.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003445, allocations: 1.013 MB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.003521, allocations: 4 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.003786, allocations: 59.62 kB / 381.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.004063, allocations: 103.5 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.004255, allocations: 75.61 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.004425, allocations: 107.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.004509, allocations: 4 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.004597, allocations: 63.75 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.004662, allocations: 23.92 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.004678, allocations: 4 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.00476, allocations: 47.91 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.004814, allocations: 31.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.004851, allocations: 23.86 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.005019, allocations: 107.6 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005022, allocations: 4 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005023, allocations: 0 / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.005027, allocations: 0 / 382.2 MB, free: 14.91 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.0004206/0.005448, allocations: 483.5 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.005487, allocations: 8.031 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.005536, allocations: 16.84 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.005701, allocations: 165.2 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.005719, allocations: 12.38 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005735, allocations: 384 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.005837, allocations: 62.94 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005844, allocations: 192 / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.005854, allocations: 4.375 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.00586, allocations: 3.938 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.005892, allocations: 15.92 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.006176, allocations: 299.8 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.006292, allocations: 51.17 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.006322, allocations: 15.69 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.006337, allocations: 8 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.006439, allocations: 72.92 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.00644, allocations: 0 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000388/0.006828, allocations: 165.2 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.006859, allocations: 55.41 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.007019, allocations: 273.6 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.007032, allocations: 29.7 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.007109, allocations: 166.8 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.007142, allocations: 27.78 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.007183, allocations: 31.38 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.007329, allocations: 0.504 MB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.007355, allocations: 11.98 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.007393, allocations: 39.3 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.007452, allocations: 51.3 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007453, allocations: 0 / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.007557, allocations: 97.45 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.007569, allocations: 10.66 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007573, allocations: 4.031 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.007584, allocations: 0 / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.007647, allocations: 16 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007652, allocations: 0 / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.00768, allocations: 7.984 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.007685, allocations: 4 kB / 384.9 MB, free: 12.02 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.848e-05/0.007754, allocations: 163 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.007772, allocations: 19.84 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.007911, allocations: 111 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007912, allocations: 0 / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.007916, allocations: 4 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.00792, allocations: 0 / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.008195, allocations: 409.3 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.008197, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.008223, allocations: 15.94 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.008226, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.008236, allocations: 7.984 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.008237, allocations: 0 / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.00824, allocations: 4 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.008375, allocations: 263.4 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.008387, allocations: 15.94 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.008403, allocations: 4 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.008443, allocations: 4 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.008474, allocations: 7.984 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.008485, allocations: 4 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.117e-05/0.008576, allocations: 192.5 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008577, allocations: 3.938 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.008755, allocations: 31.92 kB / 386.2 MB, free: 10.7 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.0009279/0.009683, allocations: 426.5 kB / 386.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.009794, allocations: 59.53 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.009795, allocations: 0 / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.009833, allocations: 35.61 kB / 386.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01006, allocations: 35.67 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.01039, allocations: 258.5 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.01043, allocations: 71.33 kB / 387 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.01046, allocations: 25.39 kB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.01049, allocations: 16.5 kB / 387.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01049, allocations: 0 / 387.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of Templates: time 0.003254/0.01374, allocations: 1.89 MB / 388.9 MB, free: 7.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.101302186958492]