Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002319, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002267, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.862/0.862, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.012, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1324/0.1324, allocations: 32.81 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01965/0.1521, allocations: 12.54 MB / 284.5 MB, free: 9.73 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/1.052e-05, allocations: 6.312 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001816/0.001826, allocations: 1.643 MB / 287.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.002321, allocations: 418.9 kB / 287.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.002365, allocations: 0 / 287.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.002472, allocations: 27.73 kB / 288 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/0.002566, allocations: 35.78 kB / 288 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.002728, allocations: 87.64 kB / 288.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002836, allocations: 63.78 kB / 288.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.002905, allocations: 7.984 kB / 288.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.002982, allocations: 39.92 kB / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.003029, allocations: 23.91 kB / 288.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003043, allocations: 0 / 288.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.003109, allocations: 35.86 kB / 288.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.003143, allocations: 11.94 kB / 288.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.003164, allocations: 7.938 kB / 288.3 MB, free: 6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003276, allocations: 63.75 kB / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.003285, allocations: 0 / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003286, allocations: 0 / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.003294, allocations: 4 kB / 288.3 MB, free: 5.934 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.0003343/0.003628, allocations: 276.3 kB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.003656, allocations: 11.97 kB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.003684, allocations: 8.922 kB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.003799, allocations: 129.7 kB / 288.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.003805, allocations: 384 / 288.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003826, allocations: 8.359 kB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.003909, allocations: 54.95 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003917, allocations: 192 / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.003924, allocations: 8.125 kB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.00393, allocations: 4 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.003946, allocations: 4 kB / 288.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.004128, allocations: 159.1 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.004241, allocations: 30.52 kB / 289 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.004253, allocations: 4.859 kB / 289 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.004268, allocations: 4.094 kB / 289 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.004287, allocations: 38.61 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004288, allocations: 0 / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002144/0.004503, allocations: 85.47 kB / 289.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.004528, allocations: 59.41 kB / 289.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.0046, allocations: 143.2 kB / 289.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.004609, allocations: 25.7 kB / 289.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.004636, allocations: 92.12 kB / 289.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.004653, allocations: 19.78 kB / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.004675, allocations: 13.72 kB / 289.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.004745, allocations: 326.8 kB / 289.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.004753, allocations: 4 kB / 289.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.004761, allocations: 4 kB / 289.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.004783, allocations: 16.84 kB / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.004783, allocations: 0 / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.154e-05/0.004825, allocations: 53.62 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004835, allocations: 4 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.004838, allocations: 0 / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.004848, allocations: 0 / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.711e-05/0.004885, allocations: 15.92 kB / 289.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004889, allocations: 4 kB / 289.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.004904, allocations: 4 kB / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.004907, allocations: 0 / 289.9 MB, free: 4.195 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.004954, allocations: 112.7 kB / 290 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.004975, allocations: 11.92 kB / 290 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.005049, allocations: 62.41 kB / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005051, allocations: 3.984 kB / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005053, allocations: 0 / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005055, allocations: 0 / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.005208, allocations: 210.7 kB / 290.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.005209, allocations: 3.938 kB / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.005234, allocations: 15.98 kB / 290.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.005239, allocations: 3.953 kB / 290.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00524, allocations: 3.938 kB / 290.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.005245, allocations: 4 kB / 290.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005245, allocations: 4 kB / 290.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005246, allocations: 0 / 290.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.005314, allocations: 151.4 kB / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005321, allocations: 0 / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.00535, allocations: 4 kB / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.005372, allocations: 0 / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005375, allocations: 3.984 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.616e-05/0.005401, allocations: 31.66 kB / 290.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005401, allocations: 4 kB / 290.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.005522, allocations: 8 kB / 290.5 MB, free: 3.508 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.001046/0.006567, allocations: 0.5472 MB / 291.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.895e-05/0.006626, allocations: 20.86 kB / 291.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.00663, allocations: 0 / 291.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.006656, allocations: 36.89 kB / 291.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.006823, allocations: 79.33 kB / 291.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.007161, allocations: 166 kB / 291.4 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.00719, allocations: 67.34 kB / 291.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.007212, allocations: 4 kB / 291.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.007256, allocations: 59.36 kB / 291.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007256, allocations: 0 / 291.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of Templates: time 0.002481/0.009737, allocations: 1.22 MB / 292.7 MB, free: 1.539 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.5249130381271243]