Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0009685/0.0009685, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001159/0.001159, allocations: 169.9 kB / 24.91 MB, free: 9.18 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.9846/0.9846, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2393/0.2393, allocations: 32.81 MB / 294.6 MB, free: 1.262 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.38e-05, allocations: 2.969 kB / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002678/0.002702, allocations: 1.799 MB / 325.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003934, allocations: 1.013 MB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.003996, allocations: 0 / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.00428, allocations: 83.58 kB / 326.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.004519, allocations: 103.5 kB / 326.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.004688, allocations: 91.53 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004834, allocations: 127.5 kB / 326.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.004907, allocations: 5.375 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.004992, allocations: 63.88 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.005083, allocations: 55.81 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.005098, allocations: 4 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.005171, allocations: 47.91 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.005214, allocations: 19.92 kB / 326.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.005242, allocations: 15.94 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005385, allocations: 111.5 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005386, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005387, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.00539, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.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.0003135/0.005704, allocations: 333.3 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.005733, allocations: 8.031 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.005758, allocations: 12.92 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.005892, allocations: 153.5 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005905, allocations: 4.375 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.00592, allocations: 4.312 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.006016, allocations: 69.75 kB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006025, allocations: 3.938 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00603, allocations: 0 / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.006034, allocations: 0 / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.006056, allocations: 15.94 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.006238, allocations: 161.9 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.006318, allocations: 93.28 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.006335, allocations: 12.86 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.006344, allocations: 0 / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.006426, allocations: 70.14 kB / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006427, allocations: 0 / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.006686, allocations: 121.5 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.006711, allocations: 55.41 kB / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.006816, allocations: 181.1 kB / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.006831, allocations: 29.7 kB / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.006861, allocations: 96.09 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.006886, allocations: 27.78 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006914, allocations: 25.7 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.006994, allocations: 330.8 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.007011, allocations: 10.81 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.007035, allocations: 25.66 kB / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.007078, allocations: 40.5 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007079, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.773e-05/0.007157, allocations: 80.38 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.007167, allocations: 4 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007171, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.007181, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.007237, allocations: 16.38 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-06/0.007239, allocations: 0 / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.007264, allocations: 3.984 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.00727, allocations: 8 kB / 328.8 MB, free: 3.906 MB / 298.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.925e-05/0.007329, allocations: 124.6 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.007341, allocations: 11.92 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/0.007434, allocations: 75.14 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007436, allocations: 0 / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007437, allocations: 0 / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.007441, allocations: 3.984 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.007633, allocations: 299.4 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.007634, allocations: 0 / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.007658, allocations: 11.94 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.007662, allocations: 11.92 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.007667, allocations: 4.031 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.007669, allocations: 3.984 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007669, allocations: 0 / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.45e-05/0.007764, allocations: 219 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.007775, allocations: 11.94 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.007789, allocations: 0 / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.007828, allocations: 7.984 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.007851, allocations: 4 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.007864, allocations: 7.984 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.007913, allocations: 61.55 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007914, allocations: 0 / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.008057, allocations: 31.94 kB / 329.7 MB, free: 2.965 MB / 298.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.001174/0.009231, allocations: 0.5698 MB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.138e-05/0.009312, allocations: 48.78 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009315, allocations: 0 / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.009346, allocations: 32.77 kB / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.009515, allocations: 35.86 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.009792, allocations: 226.4 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.009831, allocations: 71.33 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.009872, allocations: 13.42 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.009936, allocations: 71.34 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009937, allocations: 0 / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of Templates: time 0.003357/0.01329, allocations: 2.025 MB / 332.8 MB, free: 172 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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: 2.8507168237119913]