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.0009638/0.0009638, allocations: 80.8 kB / 21.5 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.0009356/0.0009356, allocations: 176 kB / 24.92 MB, free: 8.727 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2722/0.2722, allocations: 34.27 MB / 296.1 MB, free: 0.6602 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.313e-06/1.313e-06, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.437e-05, allocations: 3.516 kB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001984/0.001999, allocations: 1.765 MB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003085, allocations: 1.01 MB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.003143, allocations: 4 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.003378, allocations: 35.72 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003604, allocations: 99.47 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.003747, allocations: 87.59 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003875, allocations: 99.69 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.003939, allocations: 15.92 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.00401, allocations: 47.84 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.004073, allocations: 31.89 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.004085, allocations: 8 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.004149, allocations: 43.92 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.004191, allocations: 23.92 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.00422, allocations: 24.36 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.004351, allocations: 103.6 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004353, allocations: 0 / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004353, allocations: 0 / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.004356, allocations: 0 / 328.7 MB, free: 4.176 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.0003248/0.004681, allocations: 321.5 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.004707, allocations: 8.031 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.004733, allocations: 12.92 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.004868, allocations: 146.6 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.00488, allocations: 4.312 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.004898, allocations: 8.359 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.004989, allocations: 69.69 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.004999, allocations: 3.938 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.005007, allocations: 4 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005012, allocations: 0 / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.005033, allocations: 8 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.005207, allocations: 165.9 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.005289, allocations: 93.22 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.005307, allocations: 12.92 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.005317, allocations: 4 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/0.005386, allocations: 62.14 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.005386, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002603/0.005647, allocations: 113.5 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005675, allocations: 59.39 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.005772, allocations: 176.3 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005786, allocations: 33.7 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.005818, allocations: 104 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.005839, allocations: 19.8 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.005868, allocations: 25.69 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.005938, allocations: 322.8 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.005954, allocations: 10.83 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.005978, allocations: 34 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.006014, allocations: 40.53 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006015, allocations: 0 / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.803e-05/0.006083, allocations: 84.36 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.006091, allocations: 4 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.006095, allocations: 0 / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006107, allocations: 7.984 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.006158, allocations: 15.98 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006161, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.006186, allocations: 8 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.006191, allocations: 0 / 330.7 MB, free: 2.055 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.714e-05/0.006248, allocations: 120.6 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.00626, allocations: 11.94 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.006348, allocations: 79.16 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00635, allocations: 3.938 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006351, allocations: 0 / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.006354, allocations: 0 / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.006546, allocations: 295.6 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006547, allocations: 0 / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.006576, allocations: 15.92 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006578, allocations: 0 / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006583, allocations: 4 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006584, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006585, allocations: 4.109 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.006679, allocations: 223 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.006691, allocations: 15.89 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.006703, allocations: 0 / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.006739, allocations: 0 / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.00676, allocations: 11.98 kB / 331.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.006769, allocations: 4 kB / 331.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.006809, allocations: 56.69 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006809, allocations: 0 / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.006947, allocations: 27.94 kB / 331.5 MB, free: 1.129 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.00113/0.008077, allocations: 0.5771 MB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.008149, allocations: 44.78 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008152, allocations: 0 / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.008179, allocations: 28.86 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.008341, allocations: 34.91 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.008613, allocations: 227.6 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.008649, allocations: 71.33 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.008686, allocations: 13.28 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.008745, allocations: 67.36 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.008745, allocations: 64 / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of Templates: time 0.003297/0.01204, allocations: 2.024 MB / 334.6 MB, free: 14.33 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 -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.9611835470423102]