Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001534/0.001534, allocations: 91.31 kB / 20.42 MB, free: 4.133 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.002033/0.002033, allocations: 169 kB / 23.8 MB, free: 0.7617 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.9142/0.9142, allocations: 158.6 MB / 185.7 MB, free: 2.875 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.1586/0.1586, allocations: 32.38 MB / 270.4 MB, free: 14.68 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.382e-05, allocations: 6.25 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002371/0.002395, allocations: 1.733 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003404, allocations: 0.8037 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.003476, allocations: 0 / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.003768, allocations: 39.77 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.003986, allocations: 51.75 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.004209, allocations: 91.64 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.00436, allocations: 99.69 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.004445, allocations: 4.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.004528, allocations: 59.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.004597, allocations: 23.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004615, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.0047, allocations: 43.91 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.004744, allocations: 19.94 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.004787, allocations: 19.92 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.004965, allocations: 95.59 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004967, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004968, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.004974, allocations: 4 kB / 350.8 MB, free: 6.254 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.0004027/0.005377, allocations: 447.9 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005414, allocations: 8.031 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.005466, allocations: 16.89 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.005621, allocations: 144.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005639, allocations: 4.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.00566, allocations: 4.328 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.005784, allocations: 62.94 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005794, allocations: 3.938 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005803, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.005811, allocations: 4 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.005848, allocations: 19.92 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.006125, allocations: 279.8 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006232, allocations: 51.17 kB / 351.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.006269, allocations: 23.61 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.006282, allocations: 0 / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.527e-05/0.006378, allocations: 72.92 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.006379, allocations: 0 / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003873/0.006766, allocations: 161.6 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.006791, allocations: 55.41 kB / 352.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006893, allocations: 220.1 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.006902, allocations: 29.7 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.006938, allocations: 150.9 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.006972, allocations: 35.73 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.007007, allocations: 31.36 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.007053, allocations: 0.4923 MB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.00708, allocations: 12 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.007115, allocations: 35.48 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.007175, allocations: 63.23 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007176, allocations: 0 / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.007289, allocations: 85.58 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007302, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007306, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.007319, allocations: 4 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.007393, allocations: 15.98 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.007397, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.007431, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.007438, allocations: 0 / 353.3 MB, free: 3.527 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.971e-05/0.007487, allocations: 168.5 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.007504, allocations: 15.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.007647, allocations: 110.5 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007649, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007652, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.007656, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.007896, allocations: 389 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007898, allocations: 0 / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.007928, allocations: 15.92 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007931, allocations: 4 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.007939, allocations: 4.031 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.007941, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007942, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.008066, allocations: 263.4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.008077, allocations: 11.89 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.008096, allocations: 7.984 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.008152, allocations: 0 / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.008184, allocations: 11.98 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.008196, allocations: 4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.008253, allocations: 168 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008253, allocations: 4 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.008497, allocations: 23.94 kB / 354.5 MB, free: 2.266 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.0009625/0.00946, allocations: 437.3 kB / 354.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.00959, allocations: 51.55 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.009592, allocations: 0 / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.009632, 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.0002947/0.009927, allocations: 35.88 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.01026, allocations: 225.8 kB / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.01029, allocations: 67.34 kB / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.01033, allocations: 16.47 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.01036, allocations: 16.5 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01036, allocations: 0 / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Templates: time 0.003939/0.0143, allocations: 1.98 MB / 357.4 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.353470923844725]