Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001033/0.001033, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002546, allocations: 449.7 kB / 10.37 MB, free: 324 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.00108/0.00108, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002637, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.997/0.997, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.106, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2635/0.2635, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02417/0.2877, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.CombiTable1Dv.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.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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.664e-05, allocations: 4.688 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002224/0.002241, allocations: 1.675 MB / 295.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.003102, allocations: 0.561 MB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.003155, allocations: 0 / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003279, allocations: 27.73 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.00347, allocations: 71.67 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.003737, allocations: 115.5 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003863, allocations: 55.86 kB / 296.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.003941, allocations: 19.98 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.004033, allocations: 55.77 kB / 296.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.004086, allocations: 8 kB / 296.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004099, allocations: 4 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.00417, allocations: 35.86 kB / 296.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.004205, allocations: 8 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.00423, allocations: 7.938 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004364, allocations: 67.75 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004377, allocations: 0 / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004378, allocations: 0 / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.004395, allocations: 0 / 296.6 MB, free: 2.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.0003843/0.004779, allocations: 305.3 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004813, allocations: 8.922 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.004843, allocations: 8.938 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004971, allocations: 132.1 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.004981, allocations: 4.375 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.004997, allocations: 4.375 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.005088, allocations: 58.92 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.005098, allocations: 4.172 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.005105, allocations: 4.375 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.00511, allocations: 384 / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.005135, allocations: 15.88 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.005347, allocations: 167.2 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.005479, allocations: 33.39 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.005494, allocations: 4.859 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.005509, allocations: 4 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.005529, allocations: 30.56 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.00553, allocations: 0 / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002598/0.00579, allocations: 89.56 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.005822, allocations: 55.41 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.005914, allocations: 148.2 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.005925, allocations: 25.7 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.005957, allocations: 92.11 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.005979, allocations: 23.8 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.006011, allocations: 17.7 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.006095, allocations: 318.8 kB / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.006107, allocations: 4 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.00612, allocations: 7.984 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.006153, allocations: 23.67 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006154, allocations: 0 / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.225e-05/0.006217, allocations: 53.61 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006228, allocations: 8 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006233, allocations: 3.938 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006245, allocations: 7.938 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.006295, allocations: 8 kB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006298, allocations: 0 / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.00632, allocations: 7.984 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.006325, allocations: 0 / 298.2 MB, free: 0.6484 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.462e-05/0.006379, allocations: 112.7 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.006401, allocations: 4 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.006493, allocations: 70.38 kB / 298.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006496, allocations: 4 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.006497, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.0065, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.0067, allocations: 210.8 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006701, allocations: 0 / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.006736, allocations: 15.98 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.006746, allocations: 7.891 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006748, allocations: 4 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.006752, allocations: 0 / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006753, allocations: 0 / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006754, allocations: 4 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.081e-05/0.006835, allocations: 151.5 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.006847, allocations: 3.938 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.006892, allocations: 4 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.006913, allocations: 3.984 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.006917, allocations: 0 / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.006965, allocations: 37.55 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006965, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.007155, allocations: 15.94 kB / 298.9 MB, free: 15.95 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.001389/0.008543, allocations: 0.5378 MB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.008619, allocations: 24.78 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.008624, allocations: 0 / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.008644, allocations: 12.86 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.008834, allocations: 20.23 kB / 299.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.00927, allocations: 179.5 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.00931, allocations: 59.34 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.009344, allocations: 16 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.009399, allocations: 59.36 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0094, allocations: 0 / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of Templates: time 0.00326/0.01266, allocations: 1.28 MB / 301 MB, free: 14.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8229676727205515]