Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009695/0.0009695, allocations: 80.8 kB / 21.49 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.001221/0.001221, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9848/0.9848, 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.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.2716/0.2716, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.719e-05, allocations: 3.891 kB / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00353/0.003558, allocations: 1.809 MB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.005223, allocations: 1.014 MB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.005302, allocations: 0 / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.005586, allocations: 59.67 kB / 328.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.00588, allocations: 99.47 kB / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.006106, allocations: 75.62 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.006279, allocations: 107.7 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.006354, allocations: 8.5 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.006433, allocations: 55.77 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.006498, allocations: 27.91 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.006511, allocations: 4 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.006582, allocations: 43.92 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.006624, allocations: 31.84 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.006654, allocations: 27.92 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.006801, allocations: 111.6 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.006803, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006804, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.006807, allocations: 0 / 328.8 MB, free: 4.098 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.0003532/0.00716, allocations: 353.2 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.007189, allocations: 8.031 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.007219, allocations: 12.92 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.007377, allocations: 158.4 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.007393, allocations: 4.375 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.007408, allocations: 12.3 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.007513, allocations: 61.77 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007524, allocations: 7.938 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.00753, allocations: 0 / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007537, allocations: 0 / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.007567, allocations: 11.92 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.007791, allocations: 162 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.007878, allocations: 93.33 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.007897, allocations: 12.86 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.007908, allocations: 4 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.454e-05/0.007992, allocations: 66.09 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.007993, allocations: 0 / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002782/0.008272, allocations: 117.6 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.008296, allocations: 55.34 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.008414, allocations: 220 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008427, allocations: 29.7 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.008457, allocations: 96.11 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.00848, allocations: 23.78 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.008508, allocations: 21.7 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.008581, allocations: 330.8 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.008596, allocations: 10.83 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.00862, allocations: 29.69 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.00866, allocations: 44.45 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008661, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.084e-05/0.008732, allocations: 72.42 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.008745, allocations: 10.34 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.008748, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008761, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.008816, allocations: 19.97 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.00882, allocations: 4 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.008847, allocations: 11.98 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.008853, allocations: 4 kB / 330.9 MB, free: 1.891 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.759e-05/0.008911, allocations: 112.7 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.008925, allocations: 15.92 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.009026, allocations: 75.08 kB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.009028, allocations: 0 / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.009029, allocations: 3.938 kB / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.009034, allocations: 3.984 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.00924, allocations: 311.5 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009241, allocations: 0 / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.009267, allocations: 11.98 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009269, allocations: 0 / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.009276, allocations: 4 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.009277, allocations: 0 / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009278, allocations: 0 / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.619e-05/0.009374, allocations: 223 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.009387, allocations: 15.89 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.0094, allocations: 4.031 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.00944, allocations: 8.375 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.009463, allocations: 7.984 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.009472, allocations: 0 / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.009525, allocations: 69.02 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009525, allocations: 0 / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.009667, allocations: 35.86 kB / 331.7 MB, free: 0.9336 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.001219/0.01089, allocations: 0.5732 MB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.01098, allocations: 44.77 kB / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.01098, allocations: 0 / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.01101, allocations: 28.84 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.01118, allocations: 26.92 kB / 332.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.01148, allocations: 272.3 kB / 332.7 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.01153, allocations: 71.33 kB / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.01157, allocations: 17.27 kB / 332.8 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.01163, allocations: 71.36 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01163, allocations: 0 / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of Templates: time 0.00336/0.01499, allocations: 2.042 MB / 334.9 MB, free: 14.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.9416714645922184]