Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 77.88 kB / 21.42 MB, free: 3.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 170.6 kB / 24.82 MB, free: 8.957 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.184e-05, allocations: 6.25 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002344/0.002366, allocations: 1.761 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.00372, allocations: 0.9858 MB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.00381, allocations: 7.938 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.004108, allocations: 43.75 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.004429, allocations: 103.4 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.004649, allocations: 75.66 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.004815, allocations: 107.6 kB / 379.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.004904, allocations: 7.984 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.004996, allocations: 55.83 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.005063, allocations: 19.92 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.005077, allocations: 4 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.005158, allocations: 51.86 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.005207, allocations: 31.84 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.005242, allocations: 19.92 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.005398, allocations: 95.66 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005399, allocations: 0 / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0054, allocations: 0 / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005405, allocations: 0 / 379.9 MB, free: 0.9414 MB / 346.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.0003988/0.005803, allocations: 455.8 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.005841, allocations: 8.031 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.005876, allocations: 16.84 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006019, allocations: 161 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.006034, allocations: 4.375 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.006054, allocations: 4.375 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.006166, allocations: 58.94 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.006176, allocations: 3.938 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.006182, allocations: 0 / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006189, allocations: 4 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.006215, allocations: 7.984 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.006461, allocations: 260.4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.006545, allocations: 51.09 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.006567, allocations: 19.67 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.006585, allocations: 8 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/0.006673, allocations: 64.98 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.006675, allocations: 0 / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003075/0.006982, allocations: 133.5 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.00701, allocations: 55.41 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007126, allocations: 230.3 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.00714, allocations: 29.7 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.007195, allocations: 154.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.007222, allocations: 27.77 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.007251, allocations: 27.38 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.007374, allocations: 0.504 MB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.007394, allocations: 7.984 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.007424, allocations: 31.36 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.007471, allocations: 39.36 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007472, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.789e-05/0.00757, allocations: 97.45 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.007581, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007587, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.0076, allocations: 8.031 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.007665, allocations: 23.86 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007667, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.007695, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.0077, allocations: 0 / 382.4 MB, free: 14.26 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.481e-05/0.007765, allocations: 160.6 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.007782, allocations: 23.83 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.007912, allocations: 103.2 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.007915, allocations: 3.984 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.007916, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.00792, allocations: 3.984 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.008418, allocations: 357.6 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.00842, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.008445, allocations: 8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008448, allocations: 4 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.008454, allocations: 3.984 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008456, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008457, allocations: 384 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.008578, allocations: 259.4 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.008592, allocations: 15.98 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.008607, allocations: 8 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.008647, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.00867, allocations: 11.92 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.008681, allocations: 0 / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.008738, allocations: 168.1 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008738, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.008892, allocations: 23.94 kB / 383.5 MB, free: 13.05 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.0008223/0.009714, allocations: 429.5 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.009808, allocations: 55.58 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.009811, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.009847, allocations: 35.55 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01007, allocations: 38.53 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.0104, allocations: 217.9 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.01044, allocations: 67.34 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.01048, allocations: 21.39 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.01055, allocations: 90.19 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01055, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003723/0.01427, allocations: 2.043 MB / 386.5 MB, free: 10.19 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.023561640176922]