Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001117/0.001117, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.001523/0.001523, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9384/0.9384, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1285/0.1285, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.615e-05, allocations: 6.25 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002042/0.002058, allocations: 1.932 MB / 350.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.002927, allocations: 0.8231 MB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003029, allocations: 0 / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.003346, allocations: 51.64 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.003545, allocations: 63.62 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.003729, allocations: 103.7 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003872, allocations: 139.5 kB / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.003964, allocations: 25.61 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.004046, allocations: 75.75 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.004119, allocations: 35.83 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.004136, allocations: 8 kB / 351.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.0042, allocations: 43.98 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.004241, allocations: 23.91 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.004278, allocations: 35.86 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.004425, allocations: 135.4 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.004426, allocations: 0 / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004427, allocations: 0 / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004431, allocations: 0 / 351.7 MB, free: 5.594 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003765/0.004807, allocations: 0.4897 MB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.004842, allocations: 8.031 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.00488, allocations: 24.84 kB / 352.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005007, allocations: 168.2 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.005021, allocations: 12.38 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.005037, allocations: 4.375 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.005159, allocations: 139.7 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005167, allocations: 7.875 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.005175, allocations: 8 kB / 352.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.00518, allocations: 0 / 352.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.00521, allocations: 15.98 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.005488, allocations: 0.5566 MB / 353.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005624, allocations: 67.09 kB / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.00565, allocations: 27.67 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.005668, allocations: 7.922 kB / 353.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.513e-05/0.005753, allocations: 102.7 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.005754, allocations: 0 / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001437/0.005898, allocations: 101.5 kB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.406e-05/0.005912, allocations: 51.41 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.00599, allocations: 234.6 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.006, allocations: 33.7 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.006044, allocations: 158.8 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.006059, allocations: 31.73 kB / 353.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.006088, allocations: 43.34 kB / 353.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.006137, allocations: 0.5 MB / 354.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.006154, allocations: 11.98 kB / 354.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.006182, allocations: 62.36 kB / 354.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.006232, allocations: 82.73 kB / 354.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006234, allocations: 0 / 354.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.773e-05/0.006322, allocations: 109.4 kB / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.006331, allocations: 4 kB / 354.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006336, allocations: 4 kB / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.006349, allocations: 0 / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.006405, allocations: 23.92 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.00641, allocations: 4 kB / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.006442, allocations: 11.94 kB / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.006447, allocations: 8.125 kB / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.619e-05/0.006494, allocations: 168.5 kB / 354.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.006508, allocations: 15.91 kB / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.006611, allocations: 103.1 kB / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.006613, allocations: 0 / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006614, allocations: 0 / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.006617, allocations: 0 / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.006697, allocations: 141.1 kB / 355.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006698, allocations: 0 / 355.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.00675, allocations: 15.94 kB / 355.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006752, allocations: 4 kB / 355.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.006763, allocations: 11.92 kB / 355.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006764, allocations: 0 / 355.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006764, allocations: 0 / 355.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.006895, allocations: 148.2 kB / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.006907, allocations: 11.94 kB / 355.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.006921, allocations: 4 kB / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.006944, allocations: 4 kB / 355.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.006968, allocations: 7.984 kB / 355.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.006979, allocations: 8 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.007018, allocations: 169.1 kB / 355.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007018, allocations: 0 / 355.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.007159, allocations: 31.89 kB / 355.6 MB, free: 1.328 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006868/0.007846, allocations: 385.5 kB / 356 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.00794, allocations: 59.53 kB / 356 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007941, allocations: 4 kB / 356 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.007973, allocations: 35.73 kB / 356.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.008146, allocations: 43.91 kB / 356.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.008432, allocations: 256.1 kB / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.306e-05/0.008455, allocations: 76.08 kB / 356.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.00849, allocations: 13.14 kB / 356.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.008548, allocations: 98.19 kB / 356.5 MB, free: 420 kB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008549, allocations: 0 / 356.5 MB, free: 420 kB / 282.7 MB Notification: Performance of Templates: time 0.003605/0.01215, allocations: 2.242 MB / 358.8 MB, free: 14.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.151542046107352]