Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0007715/0.0007715, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002049, 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.0007365/0.0007365, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.001916, 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.9669/0.9669, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.084, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.2368/0.2368, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03205/0.2689, allocations: 13.11 MB / 291.5 MB, free: 7.32 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.527e-05, allocations: 3.859 kB / 292.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002241/0.002266, allocations: 1.675 MB / 294.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000879/0.003145, allocations: 0.5724 MB / 295.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.003211, allocations: 7.938 kB / 295.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.003357, allocations: 35.72 kB / 295.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.003572, allocations: 75.56 kB / 295.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.003858, allocations: 115.5 kB / 295.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.004011, allocations: 71.84 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.004103, allocations: 19.89 kB / 295.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.004202, allocations: 55.78 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.004276, allocations: 27.91 kB / 295.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.00429, allocations: 4 kB / 295.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.004461, allocations: 99.83 kB / 295.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.004503, allocations: 15.92 kB / 295.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.004527, allocations: 8 kB / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004721, allocations: 127.5 kB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.004732, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004734, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.004744, allocations: 0 / 295.8 MB, free: 3.246 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004448/0.005189, allocations: 329.1 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.005221, allocations: 8.031 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.005256, allocations: 4.938 kB / 296.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005407, allocations: 133.7 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.005416, allocations: 384 / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.005438, allocations: 12.36 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005551, allocations: 90.36 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005561, allocations: 192 / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-06/0.005568, allocations: 4.125 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.005575, allocations: 4 kB / 296.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.005596, allocations: 15.92 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.005867, allocations: 167.1 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.005933, allocations: 37.44 kB / 296.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.005955, allocations: 16.86 kB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.005978, allocations: 4 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.006006, allocations: 34.5 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.006007, allocations: 0 / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003774/0.006385, allocations: 105.5 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.006418, allocations: 55.41 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.006541, allocations: 144.3 kB / 296.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.006554, allocations: 25.7 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.006598, allocations: 96.11 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.00662, allocations: 23.8 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.006653, allocations: 21.7 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.00675, allocations: 322.8 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.006767, allocations: 6.828 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.006803, allocations: 47.41 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/0.006852, allocations: 38.7 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006853, allocations: 0 / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.428e-05/0.006927, allocations: 68.38 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006941, allocations: 5.719 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.006948, allocations: 4 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.006963, allocations: 7.938 kB / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.00704, allocations: 20.02 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.007043, allocations: 0 / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.007066, allocations: 4 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007071, allocations: 0 / 297.6 MB, free: 1.238 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 (8): * Single equations (assignments): 8 * 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 6.149e-05/0.007133, allocations: 116.7 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.007154, allocations: 15.86 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.00726, allocations: 62.45 kB / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007263, allocations: 4 kB / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007264, allocations: 0 / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007267, allocations: 0 / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.00749, allocations: 282.5 kB / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007491, allocations: 0 / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.007534, allocations: 19.98 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007542, allocations: 4.234 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.007545, allocations: 0 / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.00755, allocations: 4 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007552, allocations: 0 / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007553, allocations: 0 / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.462e-05/0.007638, allocations: 163.4 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007648, allocations: 0 / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.00768, allocations: 8 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.007703, allocations: 3.984 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007707, allocations: 4 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.007745, allocations: 36.59 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007745, allocations: 0 / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.007925, allocations: 43.86 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001513/0.009438, allocations: 0.7079 MB / 299 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.486e-05/0.009533, allocations: 32.84 kB / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.009538, allocations: 0 / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.009571, allocations: 36.98 kB / 299.1 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.009777, allocations: 92.97 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.0102, allocations: 171 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.01023, allocations: 63.34 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.01028, allocations: 12.72 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.01035, allocations: 71.34 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01035, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of Templates: time 0.00371/0.01406, allocations: 2.245 MB / 301.8 MB, free: 13.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.952353917993605]