Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0008723/0.0008723, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002102, 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.00121/0.00121, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002862, 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.9719/0.9719, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09233/1.064, allocations: 53.86 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.2562/0.2562, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02831/0.2845, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.984 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.249e-05, allocations: 3.078 kB / 293.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002187/0.002209, allocations: 1.697 MB / 295.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006937/0.002903, allocations: 0.5524 MB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.002957, allocations: 0 / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.003156, allocations: 71.66 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.003371, allocations: 103.5 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.003589, allocations: 95.62 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.00375, allocations: 79.77 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003851, allocations: 11.98 kB / 296.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.003953, allocations: 55.89 kB / 296.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.004051, allocations: 43.89 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004067, allocations: 4 kB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.524e-05/0.004162, allocations: 43.92 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.004207, allocations: 19.86 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.004235, allocations: 15.94 kB / 296.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004386, allocations: 91.61 kB / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.0044, allocations: 0 / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0044, allocations: 0 / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.004413, allocations: 0 / 296.8 MB, free: 2.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003821/0.004795, allocations: 329.1 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.004826, allocations: 8.922 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.004856, allocations: 8.938 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005029, allocations: 141.5 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.005042, allocations: 384 / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.005065, allocations: 16.36 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.005199, allocations: 54.94 kB / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005211, allocations: 192 / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.005221, allocations: 4.375 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.005229, allocations: 4.375 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.005263, allocations: 7.938 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.005532, allocations: 175 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.005592, allocations: 26.56 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.005612, allocations: 12.86 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.005636, allocations: 0 / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.005662, allocations: 42.56 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005663, allocations: 0 / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004772/0.00614, allocations: 149.5 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.006172, allocations: 55.34 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006281, allocations: 177 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006292, allocations: 29.7 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.006322, allocations: 92.11 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.006348, allocations: 35.72 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006373, allocations: 17.72 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.00645, allocations: 326.8 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.00646, allocations: 4 kB / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.006473, allocations: 15.97 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.006504, allocations: 20.84 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006505, allocations: 0 / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.754e-05/0.006563, allocations: 65.55 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.006573, allocations: 4 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006577, allocations: 3.938 kB / 298.6 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006587, allocations: 0 / 298.6 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.006657, allocations: 19.98 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006659, allocations: 4 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/0.006678, allocations: 8 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.006682, allocations: 0 / 298.6 MB, free: 288 kB / 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 (8): * Single equations (assignments): 8 * 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.195e-05/0.006734, allocations: 112.7 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.006753, allocations: 15.92 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.00685, allocations: 71.38 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006852, allocations: 0 / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006855, allocations: 4.422 kB / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006859, allocations: 0 / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.007098, allocations: 255.5 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.007101, allocations: 3.984 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.007142, allocations: 16 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.007151, allocations: 11.94 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007155, allocations: 7.984 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.007159, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.00716, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007162, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.214e-05/0.007244, allocations: 164.2 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.007257, allocations: 12 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.007288, allocations: 0 / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.007313, allocations: 12.02 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007316, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.007359, allocations: 52.34 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007359, allocations: 0 / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.00749, allocations: 19.94 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001575/0.009065, allocations: 0.6111 MB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.009152, allocations: 36.77 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.009158, allocations: 0 / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.009182, allocations: 24.78 kB / 300 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.009367, allocations: 28.92 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.009819, allocations: 228.7 kB / 300.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.009858, allocations: 63.34 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.009894, allocations: 16.7 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.009948, allocations: 59.38 kB / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.093e-06/0.009949, allocations: 0 / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.003113/0.01306, allocations: 1.5 MB / 301.9 MB, free: 13.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.8337980257347226]