Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001011/0.001011, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001042/0.001042, allocations: 165.4 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.94/0.94, allocations: 177.1 MB / 205 MB, free: 5.301 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.2437/0.2437, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.057e-05, allocations: 6.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002132/0.002153, allocations: 1.77 MB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003333, allocations: 1.009 MB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.003398, allocations: 0 / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.003663, allocations: 39.7 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.003954, allocations: 99.53 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.004134, allocations: 83.59 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.00429, allocations: 107.6 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.004378, allocations: 11.94 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.004459, allocations: 59.81 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.004539, allocations: 19.92 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.004556, allocations: 4 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.004638, allocations: 47.92 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.004687, allocations: 19.91 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004722, allocations: 15.94 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004895, allocations: 115.5 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004897, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004898, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004903, allocations: 0 / 379.5 MB, free: 1.176 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.0004351/0.005338, allocations: 447.9 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.005371, allocations: 8.031 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.005419, allocations: 16.84 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005597, allocations: 157.8 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.005615, allocations: 384 / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005633, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.005752, allocations: 66.88 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005762, allocations: 7.938 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005771, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.005778, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.005811, allocations: 11.98 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.006078, allocations: 283.8 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.00618, allocations: 59.11 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.006207, allocations: 15.62 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.006233, allocations: 4.047 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.071e-05/0.006324, allocations: 69 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006325, allocations: 3.938 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003745/0.006699, allocations: 153.4 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.006731, allocations: 59.39 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006854, allocations: 234.3 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006867, allocations: 33.7 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.006916, allocations: 142.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.006941, allocations: 27.78 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.006974, allocations: 31.38 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.007078, allocations: 0.4923 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.007104, allocations: 23.92 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.007137, allocations: 31.36 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.007191, allocations: 51.31 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.007192, allocations: 384 / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.842e-05/0.007291, allocations: 93.52 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.007301, allocations: 4 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007305, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.007318, allocations: 8 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.007394, allocations: 12 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007399, allocations: 4.031 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.00743, allocations: 11.98 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.007436, allocations: 0 / 382 MB, free: 14.43 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.89e-05/0.007505, allocations: 168.5 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.007519, allocations: 11.95 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.007661, allocations: 111.2 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007662, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007665, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007669, allocations: 3.984 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.00794, allocations: 396.9 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007942, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.007966, allocations: 11.98 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007968, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.007975, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007976, allocations: 4 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.007977, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.008109, allocations: 259.4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.008119, allocations: 11.91 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008135, allocations: 3.938 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.008173, allocations: 7.984 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.008201, allocations: 12.03 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.008212, allocations: 7.984 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.008282, allocations: 168.1 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008282, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008455, allocations: 27.94 kB / 383.2 MB, free: 13.16 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.0008754/0.00933, allocations: 440.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.009435, allocations: 55.59 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.009436, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.009474, allocations: 35.73 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.009683, allocations: 28.28 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.009976, allocations: 221.9 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.03e-05/0.01002, allocations: 63.34 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.01005, allocations: 16.95 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.01008, allocations: 20.5 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01008, allocations: 4.062 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003366/0.01345, allocations: 2.01 MB / 386.1 MB, free: 10.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.0513050756417215]