Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001224/0.001224, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001106/0.001106, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2801/0.2801, allocations: 34.27 MB / 296.1 MB, free: 0.6641 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.135e-05, allocations: 3.078 kB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003489/0.00352, allocations: 1.826 MB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005226, allocations: 1.008 MB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.005307, allocations: 4 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.005596, allocations: 47.69 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.005859, allocations: 103.4 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.006031, allocations: 79.66 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.006198, allocations: 139.5 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.006293, allocations: 16.45 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.006385, allocations: 59.89 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.006473, allocations: 47.83 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.006489, allocations: 4 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.00658, allocations: 63.91 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.006628, allocations: 27.91 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.006668, allocations: 35.84 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.00684, allocations: 123.5 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.006846, allocations: 0 / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006846, allocations: 4 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.006851, allocations: 0 / 329 MB, free: 3.918 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003582/0.007209, allocations: 345.4 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.007242, allocations: 8.031 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.007278, allocations: 12.88 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.007439, allocations: 154.5 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.007453, allocations: 4.375 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.007471, allocations: 4.375 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.007584, allocations: 73.75 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.007597, allocations: 11.88 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.007604, allocations: 4 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00761, allocations: 4 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.007651, allocations: 19.92 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.007886, allocations: 185.9 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.00805, allocations: 113.3 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.008075, allocations: 16.86 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.008086, allocations: 0 / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.288e-05/0.008179, allocations: 70.3 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.00818, allocations: 0 / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004368/0.008617, allocations: 201.6 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.008647, allocations: 55.41 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.008748, allocations: 176.2 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.008782, allocations: 33.7 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.008815, allocations: 96.3 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.008848, allocations: 43.67 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.008883, allocations: 21.72 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.008975, allocations: 334.8 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.009004, allocations: 18.83 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.009043, allocations: 45.62 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.009118, allocations: 73.27 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009119, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000115/0.009234, allocations: 88.42 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.009254, allocations: 8 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.009263, allocations: 0 / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.00928, allocations: 0 / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.009349, allocations: 27.98 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.009352, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.00938, allocations: 8.031 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.009389, allocations: 3.984 kB / 331.2 MB, free: 1.523 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 (15): * Single equations (assignments): 15 * 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 0.000118/0.009507, allocations: 128.5 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.009523, allocations: 12 kB / 331.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.009689, allocations: 111 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.009693, allocations: 4 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009695, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.009705, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.01004, allocations: 352.2 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01004, allocations: 4.062 kB / 331.8 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.01011, allocations: 20 kB / 331.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.01011, allocations: 3.984 kB / 331.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.01013, allocations: 4 kB / 331.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01013, allocations: 0 / 331.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01013, allocations: 0 / 331.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.01032, allocations: 254.4 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01034, allocations: 15.89 kB / 332.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.01036, allocations: 8 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.01043, allocations: 0 / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.01047, allocations: 19.98 kB / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.01049, allocations: 11.92 kB / 332.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.01054, allocations: 56.69 kB / 332.2 MB, free: 472 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01054, allocations: 0 / 332.2 MB, free: 472 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01079, allocations: 31.94 kB / 332.2 MB, free: 440 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001884/0.01267, allocations: 0.6582 MB / 332.9 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01282, allocations: 64.53 kB / 332.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01283, allocations: 4.062 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/0.01289, allocations: 44.77 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01317, allocations: 32.05 kB / 333 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.01365, allocations: 261 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01371, allocations: 79.77 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.01378, allocations: 25.59 kB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.01394, allocations: 79.36 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01394, allocations: 0 / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of Templates: time 0.005498/0.01944, allocations: 2.602 MB / 336 MB, free: 12.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.9259150470606983]