Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0007987/0.0007987, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.001998, 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.001028/0.001028, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002344, 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.9849/0.9849, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08091/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2804/0.2804, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02903/0.3095, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.058e-05, allocations: 4.281 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002024/0.002045, allocations: 1.687 MB / 294.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.002721, allocations: 0.553 MB / 295.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.002772, allocations: 4 kB / 295.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.002902, allocations: 23.73 kB / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.003055, allocations: 79.56 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.00326, allocations: 116.5 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003386, allocations: 75.77 kB / 295.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.003461, allocations: 11.92 kB / 295.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.003543, allocations: 43.91 kB / 295.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.003595, allocations: 15.98 kB / 295.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.003607, allocations: 7.938 kB / 295.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.00367, allocations: 35.86 kB / 295.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.003705, allocations: 8 kB / 295.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.003725, allocations: 11.94 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003848, allocations: 63.75 kB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.003858, allocations: 0 / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003859, allocations: 0 / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.003869, allocations: 4 kB / 295.6 MB, free: 3.457 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.0003409/0.004209, allocations: 289.3 kB / 295.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.004241, allocations: 12.03 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.004274, allocations: 16.92 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004401, allocations: 133.6 kB / 296 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.00441, allocations: 4.359 kB / 296 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.004429, allocations: 4.375 kB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.004511, allocations: 50.95 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.004519, allocations: 192 / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004527, allocations: 4.125 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004531, allocations: 0 / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.004548, allocations: 8 kB / 296.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.00475, allocations: 171.1 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.004868, allocations: 33.39 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.004882, allocations: 8.859 kB / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004895, allocations: 0 / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004913, allocations: 30.56 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004914, allocations: 0 / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002564/0.005171, allocations: 93.56 kB / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.005223, allocations: 51.41 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.005307, allocations: 140.3 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005316, allocations: 29.7 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.005344, allocations: 92.11 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.005362, allocations: 23.8 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.005387, allocations: 21.69 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005491, allocations: 322.8 kB / 297.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.005504, allocations: 11.92 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.005515, allocations: 8.062 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.005543, allocations: 23.67 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005544, allocations: 3.938 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.259e-05/0.005597, allocations: 49.62 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005609, allocations: 6.188 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.005612, allocations: 0 / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005623, allocations: 0 / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.005671, allocations: 19.92 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005673, allocations: 4 kB / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.005688, allocations: 0 / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.005692, allocations: 0 / 297.2 MB, free: 1.664 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 (5): * Single equations (assignments): 5 * 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 4.707e-05/0.005739, allocations: 116.7 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.005754, allocations: 11.92 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.005843, allocations: 58.14 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005844, allocations: 0 / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.005845, allocations: 0 / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005848, allocations: 7.984 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.006013, allocations: 210.8 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.006015, allocations: 3.938 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.006046, allocations: 12.3 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.006053, allocations: 7.953 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006055, allocations: 0 / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.006061, allocations: 4 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006062, allocations: 0 / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006063, allocations: 0 / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.006251, allocations: 155.4 kB / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.006261, allocations: 0 / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.006289, allocations: 4 kB / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.006314, allocations: 7.984 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.006317, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.00635, allocations: 38.06 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00635, allocations: 0 / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.006473, allocations: 11.94 kB / 297.8 MB, free: 0.9648 MB / 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 (5): * Single equations (assignments): 5 * 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.001195/0.007668, allocations: 0.5571 MB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.975e-05/0.007738, allocations: 20.84 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.007744, allocations: 8 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.434e-05/0.007769, allocations: 20.8 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.007954, allocations: 91.19 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.008358, allocations: 167.2 kB / 298.7 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.008395, allocations: 67.34 kB / 298.8 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.003e-05/0.008425, allocations: 7.984 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.008474, allocations: 63.38 kB / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008475, allocations: 0 / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of Templates: time 0.002832/0.01131, allocations: 1.262 MB / 300.1 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 3.0624273056164384]