Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.00146/0.00146, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001088/0.001088, allocations: 172.1 kB / 24.91 MB, free: 8.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9808/0.9808, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3112/0.3112, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.983e-05, allocations: 3.188 kB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003255/0.003285, allocations: 1.807 MB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004962, allocations: 1.008 MB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.005048, allocations: 0 / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.005354, allocations: 35.72 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.005674, allocations: 99.47 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.005893, allocations: 79.66 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.006078, allocations: 103.6 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.006169, allocations: 15.97 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.00628, allocations: 55.78 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.006365, allocations: 23.91 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.006383, allocations: 4 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.006481, allocations: 43.92 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.006532, allocations: 23.86 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.00658, allocations: 24.41 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006772, allocations: 99.66 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006775, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006776, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.00678, allocations: 4 kB / 328.8 MB, free: 4.109 MB / 298.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.000439/0.007219, allocations: 313.6 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.00726, allocations: 8.031 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.007299, allocations: 4.938 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.007499, allocations: 149.6 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.007527, allocations: 384 / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.007548, allocations: 8.359 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.007681, allocations: 69.7 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.007693, allocations: 3.938 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.007701, allocations: 0 / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.007707, allocations: 0 / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.007737, allocations: 15.92 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.007981, allocations: 166 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.00809, allocations: 81.3 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.008114, allocations: 16.84 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.008127, allocations: 0 / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.008241, allocations: 74.14 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.008242, allocations: 0 / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.00858, allocations: 117.5 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.008613, allocations: 55.34 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.008745, allocations: 170.1 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.008764, allocations: 29.7 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.008806, allocations: 96.09 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.008839, allocations: 27.75 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.00888, allocations: 29.69 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.008979, allocations: 318.8 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.009002, allocations: 14.83 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.009033, allocations: 21.7 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.009091, allocations: 44.45 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009092, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.009196, allocations: 76.42 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.009212, allocations: 4 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.009218, allocations: 4 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009231, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.009309, allocations: 19.92 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.009312, allocations: 4.031 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.00935, allocations: 8 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.009356, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.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 7.809e-05/0.009434, allocations: 116.7 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.009455, allocations: 15.92 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.009586, allocations: 75.08 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009588, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00959, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.009595, allocations: 7.922 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.009865, allocations: 295.6 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009866, allocations: 0 / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.009903, allocations: 8 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009907, allocations: 4 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.009915, allocations: 4 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009917, allocations: 0 / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.00992, allocations: 3.984 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01006, allocations: 219 kB / 331.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.01008, allocations: 7.906 kB / 331.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.0101, allocations: 8 kB / 331.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.01016, allocations: 4.406 kB / 331.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.01019, allocations: 7.984 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.0102, allocations: 4 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.01026, allocations: 48.34 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01026, allocations: 0 / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01051, allocations: 23.94 kB / 331.5 MB, free: 1.109 MB / 298.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.001719/0.01223, allocations: 0.5857 MB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01235, allocations: 40.77 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.01235, allocations: 4 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.01239, allocations: 16.86 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01264, allocations: 39.41 kB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.01302, allocations: 228 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.01307, allocations: 63.34 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.01312, allocations: 17.27 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.0132, allocations: 67.36 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0132, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.004891/0.0181, allocations: 2.014 MB / 334.6 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 2.948269749060273]