Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002455, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000743/0.000743, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008972/0.00164, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9876/0.9876, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09973/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2792/0.2792, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03247/0.3117, allocations: 13.23 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.837e-05, allocations: 7.578 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00315/0.003178, allocations: 1.694 MB / 295.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.004121, allocations: 0.5446 MB / 296.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.004182, allocations: 0 / 296.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.004337, allocations: 27.73 kB / 296.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004594, allocations: 79.5 kB / 296.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.004875, allocations: 87.64 kB / 296.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.005036, allocations: 75.72 kB / 296.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.005123, allocations: 11.98 kB / 296.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.005231, allocations: 39.91 kB / 296.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.0053, allocations: 15.92 kB / 296.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.005315, allocations: 4 kB / 296.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.005407, allocations: 35.92 kB / 296.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.005455, allocations: 15.88 kB / 296.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.005483, allocations: 11.94 kB / 296.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.005654, allocations: 67.73 kB / 296.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.005667, allocations: 0 / 296.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005667, allocations: 4 kB / 296.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.005678, allocations: 0 / 296.8 MB, free: 2.355 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.0004277/0.006105, allocations: 289.4 kB / 297.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.006143, allocations: 8.922 kB / 297.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.006185, allocations: 8.938 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.006352, allocations: 137.5 kB / 297.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006364, allocations: 8.375 kB / 297.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.006385, allocations: 384 / 297.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006494, allocations: 50.95 kB / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006506, allocations: 192 / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006518, allocations: 4.375 kB / 297.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006525, allocations: 4.375 kB / 297.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.006551, allocations: 11.92 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.006798, allocations: 155.1 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.006956, allocations: 30.5 kB / 297.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.006974, allocations: 8.859 kB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.006991, allocations: 3.938 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.00702, allocations: 38.55 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.007021, allocations: 0 / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003254/0.007346, allocations: 85.64 kB / 297.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.00738, allocations: 55.41 kB / 297.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.007505, allocations: 150.6 kB / 297.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007519, allocations: 29.7 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.007556, allocations: 92.12 kB / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.00758, allocations: 11.86 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007618, allocations: 17.7 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.007726, allocations: 330.8 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.007742, allocations: 4 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.007752, allocations: 0 / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.007791, allocations: 24.78 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007793, allocations: 0 / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.816e-05/0.007871, allocations: 49.69 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007884, allocations: 4 kB / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.00789, allocations: 4.188 kB / 298.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.007903, allocations: 0 / 298.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.007971, allocations: 19.98 kB / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.007974, allocations: 0 / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.007999, allocations: 4 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.008004, allocations: 0 / 298.4 MB, free: 0.5859 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 6.757e-05/0.008071, allocations: 120.6 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.008098, allocations: 7.984 kB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.008212, allocations: 62.09 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008214, allocations: 0 / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.00822, allocations: 7.984 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008224, allocations: 288 / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.008469, allocations: 202.8 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.008471, allocations: 0 / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.008521, allocations: 11.98 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.008536, allocations: 19.86 kB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008539, allocations: 0 / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.008544, allocations: 0 / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008546, allocations: 7.938 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008547, allocations: 0 / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.008672, allocations: 151.5 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008686, allocations: 3.938 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.008739, allocations: 0 / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.008764, allocations: 7.984 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.008768, allocations: 0 / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.008813, allocations: 35.58 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008813, allocations: 0 / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.009018, allocations: 11.94 kB / 299.1 MB, free: 15.89 MB / 298.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.00157/0.01059, allocations: 0.5434 MB / 299.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.01067, allocations: 20.84 kB / 299.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.01068, allocations: 3.984 kB / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.0107, allocations: 20.86 kB / 299.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.0109, allocations: 87.3 kB / 299.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.01132, allocations: 171.4 kB / 299.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.01135, allocations: 63.34 kB / 300 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.01138, allocations: 8 kB / 300 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.01143, allocations: 63.36 kB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01143, allocations: 0 / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.002931/0.01436, allocations: 1.253 MB / 301.3 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8449360616505146]