Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001051/0.001051, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00105/0.00105, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.9847/0.9847, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2509/0.2509, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 376.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.82e-05, allocations: 4.141 kB / 376.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002406/0.002424, allocations: 1.766 MB / 377.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003758, allocations: 1.005 MB / 378.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.003829, allocations: 0 / 378.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.004091, allocations: 43.77 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.004362, allocations: 99.41 kB / 379 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.004531, allocations: 75.67 kB / 379.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004697, allocations: 115.6 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.004778, allocations: 4 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.004862, allocations: 59.81 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.004933, allocations: 23.92 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004949, allocations: 4 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.005034, allocations: 47.86 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.005087, allocations: 27.84 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.005126, allocations: 15.94 kB / 379.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005307, allocations: 103.6 kB / 379.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005308, allocations: 0 / 379.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005309, allocations: 4 kB / 379.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005313, allocations: 0 / 379.5 MB, free: 1.535 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.0004402/0.005753, allocations: 459.8 kB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.005787, allocations: 8.031 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.005832, allocations: 12.89 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005999, allocations: 160.8 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.006016, allocations: 4.375 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.006034, allocations: 4.375 kB / 380.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006147, allocations: 62.94 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.006156, allocations: 3.938 kB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.006164, allocations: 4 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00617, allocations: 0 / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.006207, allocations: 15.97 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.006503, allocations: 287.8 kB / 380.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.006609, allocations: 51.17 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.006644, allocations: 23.61 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006655, allocations: 0 / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.724e-05/0.006752, allocations: 69.05 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006753, allocations: 0 / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.007136, allocations: 165.5 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.007165, allocations: 55.34 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.007337, allocations: 238 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.00735, allocations: 25.7 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.00741, allocations: 158.8 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007439, allocations: 23.8 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.007479, allocations: 31.36 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007602, allocations: 0.4962 MB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.007631, allocations: 12.17 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.007672, allocations: 35.38 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.007742, allocations: 59.23 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007743, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001237/0.007867, allocations: 85.64 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.00788, allocations: 8 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007885, allocations: 0 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007895, allocations: 0 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.007969, allocations: 19.92 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007974, allocations: 3.938 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.008008, allocations: 7.953 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.008015, allocations: 8.031 kB / 382 MB, free: 14.75 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 7.577e-05/0.008091, allocations: 167.8 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.008111, allocations: 11.94 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.008273, allocations: 107.2 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008274, allocations: 0 / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.008278, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.008284, allocations: 3.984 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.008672, allocations: 396.9 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008673, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.008703, allocations: 12.03 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008706, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.008715, allocations: 3.984 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008717, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.00872, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.008891, allocations: 259.4 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.008905, allocations: 11.91 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.008923, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.008982, allocations: 7.938 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.009013, allocations: 7.984 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.009026, allocations: 4 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.009121, allocations: 188.1 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009121, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.009368, allocations: 23.94 kB / 383.2 MB, free: 13.48 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.0009991/0.01037, allocations: 439 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.01048, allocations: 55.58 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01048, allocations: 4 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.01053, allocations: 35.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.01082, allocations: 36.03 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.01117, allocations: 225.9 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01121, allocations: 71.34 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01126, allocations: 21.25 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.01129, allocations: 16.5 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01129, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003734/0.01502, allocations: 1.869 MB / 386 MB, free: 10.85 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.1818233910016716]