Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001076/0.001076, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002655, 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.001011/0.001011, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002409, 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 1.052/1.052, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.152, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.3016/0.3016, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02801/0.3296, allocations: 13.23 MB / 292.8 MB, free: 6.398 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.153e-05, allocations: 5.906 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003446/0.003477, allocations: 1.694 MB / 295.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004552, allocations: 0.5368 MB / 296.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.004615, allocations: 0 / 296.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.004789, allocations: 35.72 kB / 296.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.005025, allocations: 75.5 kB / 296.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.005302, allocations: 99.62 kB / 296.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.005473, allocations: 67.72 kB / 296.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005576, allocations: 8 kB / 296.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.005696, allocations: 43.91 kB / 296.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.005768, allocations: 19.91 kB / 296.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.005785, allocations: 0 / 296.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.005874, allocations: 31.94 kB / 296.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.005926, allocations: 15.92 kB / 296.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.005955, allocations: 15.88 kB / 296.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.006132, allocations: 59.77 kB / 296.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.006147, allocations: 4 kB / 296.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.00615, allocations: 3.984 kB / 296.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.006162, allocations: 0 / 296.8 MB, free: 2.363 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.0004378/0.0066, allocations: 285.4 kB / 297.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.006637, allocations: 8.922 kB / 297.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.006673, allocations: 12.92 kB / 297.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.006848, allocations: 140.4 kB / 297.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.006859, allocations: 8.312 kB / 297.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.00688, allocations: 384 / 297.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.007, allocations: 54.95 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.00701, allocations: 4.188 kB / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.007018, allocations: 384 / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007024, allocations: 384 / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.007053, allocations: 7.938 kB / 297.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.007298, allocations: 163.1 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.007525, allocations: 30.5 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.00755, allocations: 12.92 kB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007566, allocations: 0 / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.007589, allocations: 38.5 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.00759, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002632/0.007853, allocations: 85.58 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.007877, allocations: 51.41 kB / 297.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.007968, allocations: 158.6 kB / 297.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.007977, allocations: 25.7 kB / 297.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.008005, allocations: 88.12 kB / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.008022, allocations: 15.84 kB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.008047, allocations: 17.72 kB / 298 MB, free: 1.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.008121, allocations: 322.8 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.008129, allocations: 4 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.008138, allocations: 4 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.008162, allocations: 24.78 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.008162, allocations: 0 / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.405e-05/0.008207, allocations: 49.69 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.008219, allocations: 7.984 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008223, allocations: 4.188 kB / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.008231, allocations: 0 / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.008271, allocations: 16 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.008273, allocations: 0 / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.008291, allocations: 3.984 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.008301, allocations: 4 kB / 298.4 MB, free: 0.5898 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 5.09e-05/0.008352, allocations: 120.6 kB / 298.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.008367, allocations: 4 kB / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.008443, allocations: 62.08 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008445, allocations: 0 / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.008446, allocations: 4 kB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.008448, allocations: 0 / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.008621, allocations: 210.8 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008623, allocations: 288 / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.008649, allocations: 11.98 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.008657, allocations: 11.89 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00866, allocations: 7.984 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-06/0.008663, allocations: 0 / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008664, allocations: 0 / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008665, allocations: 3.938 kB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.842e-05/0.008744, allocations: 143.5 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.008755, allocations: 11.86 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.008782, allocations: 0 / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.008801, allocations: 4 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.008804, allocations: 4 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.87e-05/0.008833, allocations: 35.64 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008833, allocations: 0 / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001218/0.008954, allocations: 19.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.001172/0.01013, allocations: 0.542 MB / 299.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.01019, allocations: 20.86 kB / 299.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.0102, allocations: 7.984 kB / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.01022, allocations: 12.86 kB / 299.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.0104, allocations: 83.31 kB / 299.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01077, allocations: 183.4 kB / 299.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.01081, allocations: 59.34 kB / 300 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.01083, allocations: 8 kB / 300 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.01088, allocations: 59.36 kB / 300 MB, free: 15.15 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01088, allocations: 0 / 300 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Templates: time 0.002469/0.01334, allocations: 1.252 MB / 301.3 MB, free: 13.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.7930505322292447]