Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.0009886/0.0009886, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0009657/0.0009657, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9512/0.9512, allocations: 177.1 MB / 205 MB, free: 5.641 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.2646/0.2646, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.004e-05, allocations: 6.312 kB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002269/0.002299, allocations: 1.769 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003487, allocations: 1.009 MB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.003565, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.00386, allocations: 39.77 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.004184, allocations: 103.4 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.004384, allocations: 83.66 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.004545, allocations: 103.6 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.004632, allocations: 12 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.004714, allocations: 59.81 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.004784, allocations: 23.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004799, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.004888, allocations: 51.84 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.004939, allocations: 23.86 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.005012, allocations: 15.94 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.005205, allocations: 103.6 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005208, allocations: 0 / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005209, allocations: 0 / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005214, allocations: 4 kB / 379.5 MB, free: 1.133 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.0004629/0.005677, allocations: 459.7 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.005714, allocations: 8.031 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.005763, allocations: 12.89 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.005934, allocations: 160.8 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.005951, allocations: 4.375 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.00597, allocations: 384 / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.006091, allocations: 62.94 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006102, allocations: 3.938 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00611, allocations: 0 / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.006117, allocations: 4 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.006151, allocations: 15.98 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.006433, allocations: 291.8 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006545, allocations: 47.17 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.006576, allocations: 23.61 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006589, allocations: 4 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.751e-05/0.006686, allocations: 65.05 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.006687, allocations: 4 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003936/0.007081, allocations: 161.3 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.007116, allocations: 59.34 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.007253, allocations: 233.9 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.007267, allocations: 25.7 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.007323, allocations: 162.8 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.007347, allocations: 23.78 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.00738, allocations: 31.38 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.007494, allocations: 0.4962 MB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.007521, allocations: 11.98 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.007558, allocations: 35.36 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.007617, allocations: 55.25 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007618, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.007723, allocations: 86 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007735, allocations: 4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007739, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.007751, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.007827, allocations: 23.92 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007832, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.007862, allocations: 15.89 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.007869, allocations: 4 kB / 382.1 MB, free: 14.35 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.248e-05/0.007942, allocations: 168.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007957, allocations: 11.95 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.008107, allocations: 111.2 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008109, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008113, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008117, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.008401, allocations: 396.9 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008402, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.008429, allocations: 8 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.008434, allocations: 12.02 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.008441, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.008442, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008443, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.008583, allocations: 259.4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.008594, allocations: 11.91 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.008612, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.008653, allocations: 7.938 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.008685, allocations: 3.984 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.008697, allocations: 4 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.008782, allocations: 192.1 kB / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008782, allocations: 0 / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.008959, allocations: 23.94 kB / 383.2 MB, free: 13.07 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.0009676/0.009927, allocations: 439.1 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.01006, allocations: 47.61 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01006, allocations: 4 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.0101, allocations: 35.61 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01033, allocations: 28.08 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.01068, allocations: 237.8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01073, allocations: 63.34 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.01077, allocations: 21.27 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01081, allocations: 20.48 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01081, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003994/0.0148, allocations: 2 MB / 386.1 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.0570668717846274]