Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001379/0.001379, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.002929/0.002929, allocations: 169 kB / 24.24 MB, free: 316 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 1.072/1.072, allocations: 158.6 MB / 186 MB, free: 2.934 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.1349/0.1349, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.616e-05, allocations: 9.406 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002186/0.002213, allocations: 1.942 MB / 349.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.003181, allocations: 0.8232 MB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.003284, allocations: 7.938 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.0036, allocations: 47.64 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.0038, allocations: 55.69 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.00401, allocations: 111.6 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.004173, allocations: 143.5 kB / 350.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004286, allocations: 21.62 kB / 350.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.004369, allocations: 79.73 kB / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.004452, allocations: 31.91 kB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.004477, allocations: 8 kB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.00456, allocations: 47.97 kB / 351 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.004622, allocations: 23.86 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.00467, allocations: 31.91 kB / 351.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.004867, allocations: 123.5 kB / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00487, allocations: 3.938 kB / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004871, allocations: 3.938 kB / 351.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.004876, allocations: 0 / 351.2 MB, free: 6.191 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.0004731/0.005349, allocations: 0.4975 MB / 351.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005384, allocations: 8.031 kB / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.005433, allocations: 24.84 kB / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005594, allocations: 164.3 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.005613, allocations: 4.375 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.005636, allocations: 12.31 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.005796, allocations: 139.7 kB / 352.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005805, allocations: 3.938 kB / 352.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.005917, allocations: 8 kB / 352.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005925, allocations: 4 kB / 352.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/0.005978, allocations: 27.92 kB / 352.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.006335, allocations: 0.5756 MB / 352.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.006512, allocations: 71.09 kB / 352.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.006545, allocations: 27.67 kB / 352.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.006557, allocations: 0 / 352.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.006663, allocations: 106.7 kB / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.006664, allocations: 0 / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002116/0.006876, allocations: 113.5 kB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.006899, allocations: 55.41 kB / 353.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007003, allocations: 234.7 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.007013, allocations: 25.7 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.007067, allocations: 166.8 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.007085, allocations: 39.66 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007118, allocations: 31.38 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.007173, allocations: 0.5 MB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.007199, allocations: 16 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.007237, allocations: 64.67 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.007304, allocations: 82.73 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.007307, allocations: 4 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001081/0.007415, allocations: 117.3 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.007428, allocations: 12.12 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.007433, allocations: 0 / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007447, allocations: 4 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.007507, allocations: 19.98 kB / 354.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007512, allocations: 0 / 354.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.007546, allocations: 15.94 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007553, allocations: 4 kB / 354.4 MB, free: 2.754 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 5.572e-05/0.007608, allocations: 176.4 kB / 354.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.007624, allocations: 19.89 kB / 354.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.007754, allocations: 107.1 kB / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007757, allocations: 8 kB / 354.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007761, allocations: 4 kB / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007765, allocations: 0 / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.03e-05/0.007845, allocations: 152.5 kB / 354.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007848, allocations: 3.984 kB / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.007893, allocations: 16 kB / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007895, allocations: 0 / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.007905, allocations: 0 / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007906, allocations: 4 kB / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007907, allocations: 0 / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.008047, allocations: 160.2 kB / 355 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.008059, allocations: 7.953 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008075, allocations: 8 kB / 355 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.58e-05/0.0081, allocations: 7.984 kB / 355 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.008137, allocations: 7.922 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.008147, allocations: 4 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.178e-05/0.008199, allocations: 181 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008199, allocations: 0 / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.008347, allocations: 31.89 kB / 355.3 MB, free: 1.793 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.0007462/0.009093, allocations: 385 kB / 355.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.009208, allocations: 55.59 kB / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.00921, allocations: 4 kB / 355.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.009248, allocations: 43.98 kB / 355.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.009445, allocations: 47.88 kB / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.00981, allocations: 256.1 kB / 356 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.732e-05/0.009837, allocations: 71.77 kB / 356.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.009877, allocations: 17.14 kB / 356.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.009907, allocations: 20.5 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009908, allocations: 0 / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Templates: time 0.003899/0.01381, allocations: 2.057 MB / 358.2 MB, free: 14.92 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.6521910589654]