Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 109.6 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 76.61 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 62.44 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003353/0.114, allocations: 1.657 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1158, allocations: 1.136 MB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.1159, allocations: 0 / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1161, allocations: 19.91 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1165, allocations: 71.77 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1168, allocations: 83.84 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.117, allocations: 59.91 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.1171, allocations: 7.984 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.1172, allocations: 39.78 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1173, allocations: 27.86 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1173, allocations: 3.984 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1175, allocations: 99.89 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1176, allocations: 19.97 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1176, allocations: 19.81 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.118, allocations: 131.7 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.118, allocations: 0 / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.118, allocations: 0 / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.118, allocations: 0 / 482.8 MB, free: 2.219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005729/0.1186, allocations: 403.4 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1186, allocations: 8.031 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.1187, allocations: 4.938 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1189, allocations: 210.4 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.119, allocations: 384 / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.119, allocations: 4.375 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1192, allocations: 63.52 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1192, allocations: 4 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1192, allocations: 0 / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1192, allocations: 0 / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.1193, allocations: 19.98 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1197, allocations: 292.8 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1199, allocations: 42.56 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.12, allocations: 20.94 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.12, allocations: 0 / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1201, allocations: 34.56 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1201, allocations: 0 / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005934/0.1207, allocations: 141.2 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.1207, allocations: 77.11 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1209, allocations: 141.8 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1209, allocations: 41.56 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.121, allocations: 92.14 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.121, allocations: 19.72 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.1211, allocations: 17.7 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1212, allocations: 322.8 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.1213, allocations: 19.92 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.1214, allocations: 33.69 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1215, allocations: 48.95 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1215, allocations: 0 / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.1217, allocations: 77.66 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1218, allocations: 6.188 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1218, allocations: 0 / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1218, allocations: 7.938 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.1219, allocations: 11.98 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1219, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.122, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.122, allocations: 7.938 kB / 485 MB, free: 15.84 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 (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 9.158e-05/0.1221, allocations: 109.8 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1221, allocations: 11.91 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1224, allocations: 89.95 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1224, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1224, allocations: 4.312 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1224, allocations: 7.938 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.1229, allocations: 358.3 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1229, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.123, allocations: 11.98 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.123, allocations: 0 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.123, allocations: 0 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.123, allocations: 7.938 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.123, allocations: 4 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1233, allocations: 179.4 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.1233, allocations: 81.39 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1234, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.1234, allocations: 11.92 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1235, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1235, allocations: 11.92 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1236, allocations: 115.2 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1236, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000295/0.1239, allocations: 36 kB / 486 MB, free: 14.71 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 (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.001177/0.1251, allocations: 494 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1253, allocations: 51.84 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1253, allocations: 0 / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.1254, allocations: 27.98 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1258, allocations: 22.05 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1262, allocations: 193.6 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1266, allocations: 0.6924 MB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.1266, allocations: 15.94 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1267, allocations: 15.42 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1267, allocations: 0 / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004664/0.1314, allocations: 1.741 MB / 489.2 MB, free: 11.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches