Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.43 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002978/0.1171, allocations: 1.684 MB / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.118, allocations: 0.5806 MB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.1181, allocations: 3.938 kB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1184, allocations: 59.81 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1186, allocations: 99.58 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.119, allocations: 175.3 kB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1192, allocations: 95.73 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1193, allocations: 24.23 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.1194, allocations: 39.83 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1195, allocations: 43.84 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1195, allocations: 4 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.1196, allocations: 63.89 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.1196, allocations: 19.92 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.1197, allocations: 35.75 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1199, allocations: 103.7 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1199, allocations: 4 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1199, allocations: 3.938 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1199, allocations: 3.938 kB / 484.5 MB, free: 1.492 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004897/0.1204, allocations: 419 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1204, allocations: 8.031 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1205, allocations: 16.73 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1207, allocations: 200 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1207, allocations: 8.359 kB / 485.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1207, allocations: 4.375 kB / 485.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1209, allocations: 65.8 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1209, allocations: 4 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.121, allocations: 0 / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.121, allocations: 4 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1211, allocations: 47.89 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1216, allocations: 320.7 kB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1218, allocations: 62.58 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.1219, allocations: 28.97 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1219, allocations: 0 / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1219, allocations: 30.56 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.122, allocations: 0 / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001413/0.1234, allocations: 432.8 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1234, allocations: 59.34 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1236, allocations: 190.2 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1236, allocations: 29.7 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.1237, allocations: 108 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1238, allocations: 39.45 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1238, allocations: 33.66 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.124, allocations: 322.8 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1241, allocations: 51.95 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1242, allocations: 55.95 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1245, allocations: 129 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1245, allocations: 0 / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003199/0.1248, allocations: 161.5 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1249, allocations: 4 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1249, allocations: 3.984 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1249, allocations: 0 / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.125, allocations: 31.86 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.125, allocations: 8 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.1251, allocations: 15.92 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1251, allocations: 4 kB / 487.3 MB, free: 14.43 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 (11): * Single equations (assignments): 11 * 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 0.000106/0.1252, allocations: 129.8 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1253, allocations: 11.81 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.1257, allocations: 194.2 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1257, allocations: 3.938 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1257, allocations: 0.5625 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1257, allocations: 3.984 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.1264, allocations: 0.4961 MB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1264, allocations: 8.062 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1265, allocations: 23.98 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1265, allocations: 0 / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1265, allocations: 11.98 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1265, allocations: 0 / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1265, allocations: 4 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1269, allocations: 280.8 kB / 488.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.127, allocations: 85.02 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.127, allocations: 4 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.1271, allocations: 11.98 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1272, allocations: 7.984 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1272, allocations: 4 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1273, allocations: 143.2 kB / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1273, allocations: 4 kB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1276, allocations: 27.98 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001041/0.1286, allocations: 452.2 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.129, allocations: 131.8 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.129, allocations: 0 / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1291, allocations: 71.89 kB / 489.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1295, allocations: 27 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.1301, allocations: 308 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1304, allocations: 0.7197 MB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.957e-05/0.1305, allocations: 36.52 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.1305, allocations: 15.44 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1305, allocations: 0 / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004095/0.1346, allocations: 1.628 MB / 492.1 MB, free: 9.617 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches