Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008785/0.0008786, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1752/0.1752, allocations: 46.19 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002296/0.0002297, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08538, allocations: 63.57 MB / 483.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001541/0.08693, allocations: 1.314 MB / 484.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.08783, allocations: 0.5301 MB / 484.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.08788, allocations: 4 kB / 484.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.08806, allocations: 27.84 kB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.08825, allocations: 55.84 kB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.08848, allocations: 83.83 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.08861, allocations: 63.84 kB / 485.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.0887, allocations: 15.97 kB / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.08875, allocations: 27.8 kB / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.08882, allocations: 31.84 kB / 485.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.08884, allocations: 0 / 485.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.089, allocations: 91.95 kB / 485.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.08905, allocations: 23.91 kB / 485.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.0891, allocations: 49.52 kB / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.08931, allocations: 143.6 kB / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.08932, allocations: 0 / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08932, allocations: 0 / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.08933, allocations: 0 / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003934/0.08973, allocations: 399.5 kB / 485.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.08976, allocations: 12.03 kB / 485.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.08981, allocations: 12.84 kB / 485.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.08998, allocations: 194.7 kB / 486.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.09, allocations: 8.312 kB / 486.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.09002, allocations: 8.312 kB / 486.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.09017, allocations: 71.52 kB / 486.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.09019, allocations: 0 / 486.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.0902, allocations: 0 / 486.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.09021, allocations: 4 kB / 486.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.09032, allocations: 35.98 kB / 486.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.09068, allocations: 304.7 kB / 486.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.09081, allocations: 62.55 kB / 486.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.222e-05/0.09088, allocations: 28.97 kB / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.09091, allocations: 0 / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.09093, allocations: 38.56 kB / 486.7 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.09094, allocations: 0 / 486.7 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006125/0.09156, allocations: 201.2 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.09161, allocations: 81.11 kB / 487 MB, free: 20 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.09176, allocations: 150.2 kB / 487.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.09179, allocations: 25.7 kB / 487.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.09184, allocations: 100 kB / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.09187, allocations: 31.59 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.0919, allocations: 17.7 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.092, allocations: 322.8 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.09209, allocations: 31.97 kB / 487.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.0922, allocations: 53.69 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.09239, allocations: 88.75 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.0924, allocations: 0 / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002346/0.09264, allocations: 125.7 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.09266, allocations: 7.984 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.09267, allocations: 0 / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.09268, allocations: 4 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.09279, allocations: 19.98 kB / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.09281, allocations: 3.938 kB / 487.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.09286, allocations: 4 kB / 487.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.09288, allocations: 4 kB / 487.9 MB, free: 15 MB / 366.1 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 (9): * Single equations (assignments): 9 * 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.729e-05/0.09296, allocations: 129.8 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.093, allocations: 7.906 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.09327, allocations: 118.4 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.09329, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.0933, allocations: 8 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.09331, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.09378, allocations: 410.3 kB / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0938, allocations: 384 / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.09388, allocations: 27.92 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.09389, allocations: 4 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.0939, allocations: 3.938 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.09391, allocations: 0 / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09392, allocations: 0 / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.09416, allocations: 207.4 kB / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.09422, allocations: 89 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.09424, allocations: 3.938 kB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.09433, allocations: 12 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.09436, allocations: 3.984 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.09437, allocations: 4 kB / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.09447, allocations: 121.5 kB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09448, allocations: 4 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.09477, allocations: 43.98 kB / 489.1 MB, free: 13.72 MB / 366.1 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 (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.0009993/0.09577, allocations: 0.4935 MB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.09601, allocations: 79.95 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09603, allocations: 4 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.09613, allocations: 39.91 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.09643, allocations: 15.98 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.09683, allocations: 229 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.09704, allocations: 0.6965 MB / 490.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.09712, allocations: 24.55 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.09717, allocations: 15.44 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09718, allocations: 4 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004158/0.1013, allocations: 1.921 MB / 492.6 MB, free: 10.31 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches