Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009922/0.0009922, 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.001518/0.001518, allocations: 172.5 kB / 24.92 MB, free: 8.777 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.9672/0.9672, 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.2606/0.2606, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.376e-05, allocations: 3.188 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002482/0.002496, allocations: 1.814 MB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003543, allocations: 1.002 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003598, allocations: 4 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.003819, allocations: 43.7 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.004023, allocations: 95.47 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.004157, allocations: 83.59 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004283, allocations: 103.7 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.004351, allocations: 8.5 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.004425, allocations: 55.77 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.004483, allocations: 23.91 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.004495, allocations: 8 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.004563, allocations: 43.92 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.004603, allocations: 35.84 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.00463, allocations: 15.94 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.004764, allocations: 99.66 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.004765, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004765, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004768, allocations: 0 / 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.0003251/0.005094, allocations: 321.5 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.005127, allocations: 15.97 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.005163, allocations: 8.922 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.00532, allocations: 150.6 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.005335, allocations: 4.375 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.005351, allocations: 4.375 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.005449, allocations: 65.75 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005459, allocations: 3.938 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.005466, allocations: 0 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.005475, allocations: 7.984 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.005499, allocations: 11.94 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.00569, allocations: 169.9 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.005769, allocations: 81.3 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.005787, allocations: 16.92 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.005796, allocations: 0 / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.975e-05/0.005875, allocations: 74.06 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.51e-07/0.005876, allocations: 0 / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002401/0.006116, allocations: 109.8 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.00614, allocations: 59.39 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006242, allocations: 180.2 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006255, allocations: 29.7 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.006284, allocations: 96.06 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.006304, allocations: 23.78 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.006332, allocations: 29.7 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.006407, allocations: 326.8 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.006422, allocations: 10.83 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.006443, allocations: 25.83 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.0065, allocations: 48.45 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006501, allocations: 0 / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.427e-05/0.006566, allocations: 68.44 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.006575, allocations: 6.031 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.006578, allocations: 0 / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.00659, allocations: 8.031 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.006643, allocations: 19.92 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.006645, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.006671, allocations: 12 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006676, allocations: 3.938 kB / 330.7 MB, free: 1.98 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 5.481e-05/0.00673, allocations: 117.6 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.006743, allocations: 11.94 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.006836, allocations: 79.06 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006838, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006839, allocations: 4 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006843, allocations: 0 / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.007079, allocations: 299.6 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00708, allocations: 0 / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.007103, allocations: 11.98 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.007106, allocations: 4 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.007116, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007117, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007119, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.748e-05/0.007216, allocations: 227 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007227, allocations: 15.94 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.00724, allocations: 0 / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.007278, allocations: 4 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.007303, allocations: 7.984 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.007312, allocations: 4 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.007358, allocations: 64.62 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007358, allocations: 0 / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.007508, allocations: 23.94 kB / 331.6 MB, free: 1.055 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.001182/0.00869, allocations: 0.5789 MB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.008776, allocations: 44.77 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.008779, allocations: 0 / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.008806, allocations: 20.86 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.009038, allocations: 41.78 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.009334, allocations: 235.5 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.009377, allocations: 71.27 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.009413, allocations: 17.27 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.009471, allocations: 67.38 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009472, allocations: 0 / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of Templates: time 0.003431/0.0129, allocations: 2.015 MB / 334.7 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.7578921648673713]