Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001124/0.001124, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002797, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001019/0.001019, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002479, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9632/0.9632, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08856/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2465/0.2465, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02589/0.2724, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.625e-05, allocations: 4.031 kB / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002827/0.002853, allocations: 1.727 MB / 294.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.003515, allocations: 0.5608 MB / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.003567, allocations: 0 / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.00376, allocations: 99.55 kB / 295.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.003957, allocations: 111.5 kB / 295.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.004165, allocations: 99.52 kB / 295.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004308, allocations: 111.7 kB / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.004385, allocations: 11.98 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004487, allocations: 79.8 kB / 295.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.004571, allocations: 51.88 kB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.004586, allocations: 4 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.004658, allocations: 47.92 kB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.004703, allocations: 23.86 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.004728, allocations: 19.94 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004876, allocations: 103.5 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.004889, allocations: 0 / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004889, allocations: 4 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.004898, allocations: 0 / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003708/0.005268, allocations: 349 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.005297, allocations: 8.625 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.005328, allocations: 20.86 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.005468, allocations: 150 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.005477, allocations: 8.375 kB / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.005498, allocations: 4.375 kB / 296.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.005591, allocations: 62.94 kB / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.005599, allocations: 192 / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005607, allocations: 8.125 kB / 296.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005611, allocations: 11.98 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.005638, allocations: 13.84 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.005861, allocations: 203 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.005916, allocations: 34.56 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.005932, allocations: 16.86 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.005951, allocations: 3.938 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.005968, allocations: 34.56 kB / 296.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.005969, allocations: 0 / 296.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004574/0.006426, allocations: 221.9 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.006453, allocations: 55.41 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.006564, allocations: 189.1 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006575, allocations: 29.7 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.006604, allocations: 100 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.006632, allocations: 43.61 kB / 297.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.006661, allocations: 29.69 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.006738, allocations: 330.7 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.006754, allocations: 11.98 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.006768, allocations: 12 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.00681, allocations: 46.77 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006811, allocations: 0 / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.952e-05/0.006881, allocations: 73.67 kB / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006892, allocations: 4 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.006895, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.00691, allocations: 7.984 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.006985, allocations: 27.92 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006988, allocations: 0 / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.007006, allocations: 4 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007012, allocations: 4 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.823e-05/0.00707, allocations: 128.6 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.007088, allocations: 11.98 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.007205, allocations: 91.73 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007208, allocations: 4 kB / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.007209, allocations: 0 / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007213, allocations: 3.938 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.007456, allocations: 291.3 kB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007457, allocations: 0 / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.007508, allocations: 32.02 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007517, allocations: 11.91 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007519, allocations: 0 / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.007526, allocations: 7.984 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007528, allocations: 3.938 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007529, allocations: 0 / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.007644, allocations: 187.4 kB / 298.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.007656, allocations: 4 kB / 298.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.007691, allocations: 8 kB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.007716, allocations: 11.92 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.007721, allocations: 4 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.007778, allocations: 65.55 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007778, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.007912, allocations: 31.98 kB / 298.9 MB, free: 15.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001332/0.009244, allocations: 0.6301 MB / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.009336, allocations: 52.78 kB / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.009342, allocations: 0 / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.009387, allocations: 44.77 kB / 299.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009603, allocations: 91.64 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.01008, allocations: 270.4 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.01012, allocations: 79.42 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.344e-05/0.01016, allocations: 16.47 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.01022, allocations: 63.38 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01022, allocations: 0 / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003121/0.01335, allocations: 1.703 MB / 301.8 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8869086699560285]