Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001164/0.001164, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.002237/0.002237, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.088/1.088, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1374/0.1374, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.106e-05, allocations: 4.281 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002059/0.00208, allocations: 1.726 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.002974, allocations: 0.8037 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.003059, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.003416, allocations: 107.6 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.00364, allocations: 87.64 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.003864, allocations: 91.69 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.004008, allocations: 115.6 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.004088, allocations: 4.234 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.004165, allocations: 67.8 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.004247, allocations: 51.88 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004266, allocations: 4 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.004344, allocations: 47.91 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.004407, allocations: 27.86 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.004442, allocations: 23.94 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004595, allocations: 103.6 kB / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004597, allocations: 0 / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004598, allocations: 3.984 kB / 351 MB, free: 6.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004602, allocations: 3.938 kB / 351 MB, free: 6.09 MB / 282.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.0003621/0.004964, allocations: 463.7 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.004998, allocations: 8.031 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.005045, allocations: 20.84 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.00518, allocations: 153.2 kB / 351.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.005198, allocations: 4.375 kB / 351.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.005218, allocations: 4.375 kB / 351.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005326, allocations: 62.94 kB / 351.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.005337, allocations: 3.938 kB / 351.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005346, allocations: 0 / 351.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005353, allocations: 0 / 351.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.005385, allocations: 15.98 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.005678, allocations: 299.8 kB / 352 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.005781, allocations: 51.11 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.00581, allocations: 27.59 kB / 352.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.005822, allocations: 4 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.445e-05/0.005906, allocations: 65.05 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.005907, allocations: 0 / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.006289, allocations: 165.3 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.006313, allocations: 51.41 kB / 352.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.006413, allocations: 257.7 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.00642, allocations: 25.7 kB / 352.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.006456, allocations: 158.9 kB / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.006478, allocations: 35.69 kB / 352.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.006507, allocations: 35.36 kB / 352.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.006553, allocations: 0.504 MB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.006573, allocations: 8 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.006603, allocations: 35.73 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.006651, allocations: 51.3 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006652, allocations: 4 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.846e-05/0.00674, allocations: 101.5 kB / 353.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006751, allocations: 4 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006756, allocations: 0 / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.006772, allocations: 8.031 kB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.006833, allocations: 19.92 kB / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.006838, allocations: 0 / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.006863, allocations: 4 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006868, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.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 4.936e-05/0.006917, allocations: 164.5 kB / 353.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.006933, allocations: 11.95 kB / 353.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.007057, allocations: 115.2 kB / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007059, allocations: 0 / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007062, allocations: 0 / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007065, allocations: 4 kB / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.007284, allocations: 405 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007285, allocations: 4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.007309, allocations: 8 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007311, allocations: 0 / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.007319, allocations: 4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007321, allocations: 3.984 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007322, allocations: 0 / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.007428, allocations: 259.4 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.007439, allocations: 11.91 kB / 354.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.007456, allocations: 12.03 kB / 354.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.007493, allocations: 0 / 354.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.007526, allocations: 7.984 kB / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.007539, allocations: 7.938 kB / 354.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.007601, allocations: 192.1 kB / 354.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007601, allocations: 0 / 354.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.007776, allocations: 23.94 kB / 354.8 MB, free: 1.961 MB / 282.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.0008817/0.008657, allocations: 445.9 kB / 355.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.892e-05/0.008756, allocations: 59.55 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008758, allocations: 0 / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.008791, allocations: 31.67 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008998, allocations: 35.25 kB / 355.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.009277, allocations: 237 kB / 355.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.009308, allocations: 75.27 kB / 355.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.009337, allocations: 16.59 kB / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.009362, allocations: 20.5 kB / 355.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.009362, allocations: 0 / 355.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of Templates: time 0.003355/0.01272, allocations: 1.982 MB / 357.7 MB, free: 15.13 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.373571115080267]