Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.000962/0.000962, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001101/0.001101, allocations: 166.6 kB / 24.91 MB, free: 9.16 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2753/0.2753, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.138e-05, allocations: 3.516 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003973/0.004005, allocations: 1.977 MB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.006022, allocations: 1.114 MB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.006152, allocations: 4 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.006676, allocations: 255.2 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.007225, allocations: 239 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.0076, allocations: 119.5 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.008046, allocations: 279.2 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.008163, allocations: 18.61 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.008417, allocations: 163.5 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.00864, allocations: 159.7 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.008665, allocations: 8 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.008804, allocations: 67.92 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.008895, allocations: 75.69 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.008966, allocations: 48.28 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.009275, allocations: 203.1 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009279, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.00928, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.009285, allocations: 0 / 330.1 MB, free: 2.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005938/0.009879, allocations: 0.4883 MB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.009919, allocations: 15.95 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.00998, allocations: 20.92 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01027, allocations: 224.2 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.01029, allocations: 4.375 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.01032, allocations: 16.36 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.01051, allocations: 111.3 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01053, allocations: 3.938 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.01054, allocations: 4 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01055, allocations: 4 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.01061, allocations: 25.64 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.01101, allocations: 300.8 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.01126, allocations: 190.7 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.01131, allocations: 25.66 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.01132, allocations: 4 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.01147, allocations: 112 kB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.01147, allocations: 0 / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009477/0.01242, allocations: 336.8 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.01246, allocations: 81.11 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.01269, allocations: 349.1 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01271, allocations: 33.7 kB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.01277, allocations: 121.5 kB / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.01282, allocations: 75.36 kB / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.01287, allocations: 49.67 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01297, allocations: 350.7 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.01301, allocations: 22.83 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.01306, allocations: 58.02 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.01315, allocations: 108.1 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01315, allocations: 0 / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001407/0.01329, allocations: 135.2 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01331, allocations: 4 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01332, allocations: 4 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01333, allocations: 0 / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01343, allocations: 47.91 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01344, allocations: 0 / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.01349, allocations: 16 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.0135, allocations: 8 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.878e-05/0.01359, allocations: 136.6 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.01361, allocations: 27.97 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.01382, allocations: 159.5 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.01382, allocations: 4 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01382, allocations: 0 / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01383, allocations: 3.984 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.01428, allocations: 0.5633 MB / 334.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01428, allocations: 4 kB / 334.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.01434, allocations: 31.92 kB / 334.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01434, allocations: 7.938 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01436, allocations: 8 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01436, allocations: 4.219 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.01436, allocations: 4 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.01455, allocations: 404.8 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.01457, allocations: 43.75 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.0146, allocations: 12 kB / 334.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.01468, allocations: 12 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01472, allocations: 15.97 kB / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01474, allocations: 11.98 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01485, allocations: 159.6 kB / 335 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01485, allocations: 0 / 335 MB, free: 13.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01507, allocations: 55.92 kB / 335 MB, free: 13.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001525/0.01659, allocations: 0.6654 MB / 335.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01675, allocations: 104.5 kB / 335.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.01676, allocations: 0 / 335.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.01682, allocations: 64.7 kB / 335.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01714, allocations: 71.95 kB / 335.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01774, allocations: 0.5154 MB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.0178, allocations: 100.3 kB / 336.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.151e-05/0.01787, allocations: 41.92 kB / 336.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01797, allocations: 95.34 kB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01797, allocations: 0 / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Templates: time 0.005556/0.02353, allocations: 3.648 MB / 340.3 MB, free: 8.621 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.0412434553727508]