Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001043/0.001043, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001286/0.001286, allocations: 171.7 kB / 25.61 MB, free: 8.859 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.9743/0.9743, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1541/0.1541, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.662e-05, allocations: 6.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002324/0.002351, allocations: 1.743 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003594, allocations: 0.9974 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.003683, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.003975, allocations: 43.77 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.00428, allocations: 107.4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.004483, allocations: 75.67 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004643, allocations: 107.6 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.004738, allocations: 7.938 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.004824, allocations: 59.81 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.004903, allocations: 23.92 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004922, allocations: 4 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.005007, allocations: 47.92 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.005063, allocations: 31.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.005096, allocations: 19.92 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.005266, allocations: 99.66 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005269, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005271, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005275, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.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.0003746/0.00565, allocations: 455.7 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.005687, allocations: 8.031 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.005728, allocations: 20.84 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.005867, allocations: 160.4 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.005884, allocations: 384 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005901, allocations: 4.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.006008, allocations: 58.94 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.006022, allocations: 7.938 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.00603, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.006035, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.006062, allocations: 7.984 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.006293, allocations: 264.4 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.006383, allocations: 47.17 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.006405, allocations: 23.67 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.00642, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.006524, allocations: 72.91 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.006525, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003173/0.006843, allocations: 133.5 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.006868, allocations: 51.41 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.006961, allocations: 250.2 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.00697, allocations: 25.7 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.007009, allocations: 154.8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.007032, allocations: 27.83 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.007062, allocations: 27.38 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.007113, allocations: 0.5001 MB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.007132, allocations: 15.92 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.007157, allocations: 31.73 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.007199, allocations: 47.36 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.0072, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.498e-05/0.007295, allocations: 93.53 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007309, allocations: 10.17 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007315, allocations: 7.969 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.007325, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.007394, allocations: 16 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007397, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.007427, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.007434, allocations: 7.984 kB / 385.2 MB, free: 17.25 MB / 314.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 5.289e-05/0.007487, allocations: 160.6 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.007502, allocations: 15.89 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.007625, allocations: 107.2 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007627, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007628, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007632, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.007843, allocations: 369.5 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.007845, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.007874, allocations: 15.97 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.007877, allocations: 4 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.007883, allocations: 3.938 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007885, allocations: 0 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.007887, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007987, allocations: 259.4 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.007999, allocations: 7.953 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.008015, allocations: 4 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.008058, allocations: 7.984 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.008083, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.008096, allocations: 7.984 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.00814, allocations: 168.2 kB / 386.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00814, allocations: 0 / 386.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.008323, allocations: 23.98 kB / 386.4 MB, free: 16.02 MB / 314.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.001032/0.009355, allocations: 444.8 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009465, allocations: 47.59 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.009468, allocations: 0 / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.0095, allocations: 31.61 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.009758, allocations: 47.02 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.01008, allocations: 219.8 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.01011, allocations: 71.19 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01015, allocations: 17.11 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.01021, allocations: 90.19 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01021, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003504/0.01371, allocations: 2.056 MB / 389.4 MB, free: 13.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.1472551180049777]