Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009324/0.0009324, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009604/0.0009604, allocations: 165 kB / 23.8 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 0.9884/0.9884, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1512/0.1512, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 7.938 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.689e-05, allocations: 2.312 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001846/0.001863, allocations: 1.736 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.002671, allocations: 0.796 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.002727, allocations: 3.938 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.002959, allocations: 39.75 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.003121, allocations: 51.77 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.003292, allocations: 91.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003428, allocations: 91.64 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.003518, allocations: 16.22 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.003591, allocations: 55.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.003655, allocations: 23.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003672, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.003741, allocations: 39.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.003795, allocations: 27.91 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.003832, allocations: 15.94 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.003981, allocations: 99.58 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003982, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003983, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003987, allocations: 4 kB / 350.8 MB, free: 6.25 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.0004091/0.004396, allocations: 443.9 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.004439, allocations: 8.031 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.004492, allocations: 8.891 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.004624, allocations: 152.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.004642, allocations: 4.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.004662, allocations: 8.312 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.004782, allocations: 62.94 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.004792, allocations: 3.938 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.004801, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.004809, allocations: 4 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.004841, allocations: 12 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.005093, allocations: 283.8 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.005189, allocations: 51.17 kB / 351.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.005217, allocations: 27.59 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.005228, allocations: 0 / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.546e-05/0.005314, allocations: 68.98 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.005315, allocations: 0 / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003573/0.005672, allocations: 157.7 kB / 352.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.0057, allocations: 59.34 kB / 352.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.005813, allocations: 224.1 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.005821, allocations: 29.7 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.005859, allocations: 142.9 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.005885, allocations: 35.73 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.005914, allocations: 31.38 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.005963, allocations: 0.4923 MB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.005986, allocations: 15.98 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.006027, allocations: 35.34 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.006092, allocations: 63.31 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.006093, allocations: 0 / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001142/0.006208, allocations: 85.62 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.00622, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.006225, allocations: 3.938 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.006239, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.006314, allocations: 16 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006319, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.006353, allocations: 7.984 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.00636, allocations: 4 kB / 353.3 MB, free: 3.523 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 5.199e-05/0.006412, allocations: 168.5 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.006431, allocations: 15.91 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.006579, allocations: 106.5 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006581, allocations: 4 kB / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.006585, allocations: 0 / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006588, allocations: 0 / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.006846, allocations: 389 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006847, allocations: 0 / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.006877, allocations: 8 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006879, allocations: 4.031 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.006889, allocations: 11.92 kB / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00689, allocations: 0 / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006891, allocations: 0 / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007013, allocations: 259.4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.007024, allocations: 11.95 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.007043, allocations: 4 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.0071, allocations: 0 / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.00713, allocations: 11.92 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.007143, allocations: 8 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.007198, allocations: 164 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007198, allocations: 4 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000251/0.007449, allocations: 31.92 kB / 354.5 MB, free: 2.262 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.00395/0.0114, allocations: 430.7 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01152, allocations: 59.53 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01152, allocations: 0 / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.01156, allocations: 31.61 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01186, allocations: 32.02 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.01216, allocations: 221.7 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.01219, allocations: 71.33 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01223, allocations: 12.48 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.01226, allocations: 20.48 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01226, allocations: 0 / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Templates: time 0.006909/0.01917, allocations: 1.977 MB / 357.4 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.118957811035216]