Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0008807/0.0008807, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002075, 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.001055/0.001055, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002505, 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.02/1.02, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/1.136, 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.2744/0.2744, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02435/0.2987, allocations: 13.23 MB / 292.8 MB, free: 6.406 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.134e-05, allocations: 3.438 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002901/0.002923, allocations: 1.735 MB / 295.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009396/0.003862, allocations: 0.5679 MB / 296.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.003926, allocations: 0 / 296.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.004146, allocations: 91.61 kB / 296.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.004394, allocations: 115.4 kB / 296.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.004684, allocations: 103.6 kB / 296.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.004861, allocations: 99.73 kB / 296.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.004955, allocations: 19.98 kB / 296.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005083, allocations: 71.81 kB / 296.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005191, allocations: 51.88 kB / 297 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.005209, allocations: 4 kB / 297 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005316, allocations: 51.86 kB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.005369, allocations: 27.92 kB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.0054, allocations: 19.88 kB / 297.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005592, allocations: 95.59 kB / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.005605, allocations: 4 kB / 297.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005606, allocations: 0 / 297.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.005617, allocations: 3.938 kB / 297.2 MB, free: 2.016 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004523/0.006069, allocations: 349 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.006105, allocations: 12.03 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.006145, allocations: 12.92 kB / 297.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006322, allocations: 149.5 kB / 297.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.006333, allocations: 4.375 kB / 297.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.006357, allocations: 4.375 kB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.006483, allocations: 71.53 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006493, allocations: 8.125 kB / 297.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.006504, allocations: 8.359 kB / 297.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006511, allocations: 384 / 297.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.006547, allocations: 20.58 kB / 297.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.006829, allocations: 195 kB / 298 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.006903, allocations: 46.5 kB / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.006922, allocations: 8.859 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.006944, allocations: 4 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.006968, allocations: 34.55 kB / 298.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.00697, allocations: 0 / 298.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005886/0.007558, allocations: 217.8 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00759, allocations: 51.41 kB / 298.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.007742, allocations: 193.1 kB / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007755, allocations: 25.7 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.007797, allocations: 104 kB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.007832, allocations: 43.59 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.007875, allocations: 25.7 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.007977, allocations: 330.8 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.007999, allocations: 15.98 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.008019, allocations: 12 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/0.008079, allocations: 43.06 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008081, allocations: 7.875 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001012/0.008182, allocations: 73.59 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.0082, allocations: 8 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008205, allocations: 0 / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.008217, allocations: 0 / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.008322, allocations: 27.98 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.008326, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.008354, allocations: 8 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.008362, allocations: 4 kB / 299.2 MB, free: 15.78 MB / 298.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 (13): * Single equations (assignments): 13 * 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 7.565e-05/0.008438, allocations: 124.5 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.008467, allocations: 11.98 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.00863, allocations: 101.7 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008632, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008634, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008638, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.008975, allocations: 294.5 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.008977, allocations: 4.031 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.009052, allocations: 27.92 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.009067, allocations: 19.89 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.00907, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.009078, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.00908, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.009083, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.009213, allocations: 188.2 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.009229, allocations: 4 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.009289, allocations: 4 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.009317, allocations: 15.98 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.009323, allocations: 0 / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.009391, allocations: 69.48 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009391, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.009607, allocations: 23.98 kB / 300.1 MB, free: 14.84 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 (13): * Single equations (assignments): 13 * 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.001738/0.01134, allocations: 0.6184 MB / 300.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01146, allocations: 48.78 kB / 300.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.01147, allocations: 7.938 kB / 300.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.01153, allocations: 44.81 kB / 300.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01179, allocations: 79.72 kB / 300.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01238, allocations: 279.8 kB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01243, allocations: 71.33 kB / 301.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.01249, allocations: 20.47 kB / 301.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.01257, allocations: 63.38 kB / 301.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01257, allocations: 0 / 301.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004151/0.01672, allocations: 1.711 MB / 303.1 MB, free: 12.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.9194163950160146]