Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 82.7 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003917/0.1201, allocations: 1.728 MB / 481.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1212, allocations: 0.5768 MB / 482.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.1213, allocations: 4 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.122, allocations: 455.2 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.1225, allocations: 279.4 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.123, allocations: 159.5 kB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1234, allocations: 179.6 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1235, allocations: 28.2 kB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1237, allocations: 111.7 kB / 483.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.124, allocations: 203.6 kB / 483.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.124, allocations: 4 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1242, allocations: 47.97 kB / 483.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1243, allocations: 91.62 kB / 483.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1245, allocations: 110.9 kB / 483.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1248, allocations: 191.8 kB / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1248, allocations: 0 / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1248, allocations: 0 / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1248, allocations: 0 / 484.1 MB, free: 1.566 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.0008246/0.1256, allocations: 0.6495 MB / 484.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1257, allocations: 8.031 kB / 484.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.1258, allocations: 48.38 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1261, allocations: 296.2 kB / 485.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1261, allocations: 8.375 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1261, allocations: 4.375 kB / 485.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1263, allocations: 65.73 kB / 485.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1263, allocations: 0 / 485.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1263, allocations: 3.938 kB / 485.1 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1263, allocations: 3.984 kB / 485.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1265, allocations: 31.98 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.1271, allocations: 420.5 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1272, allocations: 46.56 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.1273, allocations: 20.94 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1273, allocations: 0 / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1273, allocations: 34.59 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1273, allocations: 4 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009965/0.1283, allocations: 311.8 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1284, allocations: 55.34 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.1292, allocations: 0.8738 MB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1292, allocations: 25.7 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1294, allocations: 224.1 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.1294, allocations: 27.56 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.1295, allocations: 25.7 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1296, allocations: 362.7 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.1297, allocations: 31.97 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.1298, allocations: 31.98 kB / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.13, allocations: 80.8 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.13, allocations: 0 / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002512/0.1303, allocations: 145.3 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1303, allocations: 4 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1303, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1303, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1304, allocations: 23.98 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1304, allocations: 7.938 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.1305, allocations: 7.984 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1305, allocations: 0 / 487.9 MB, free: 13.5 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 (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 0.0001826/0.1307, allocations: 217.8 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1308, allocations: 43.44 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.1311, allocations: 173.5 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1311, allocations: 432 / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1311, allocations: 3.938 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1312, allocations: 0 / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.1318, allocations: 0.5264 MB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1318, allocations: 7.938 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.1319, allocations: 20.02 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1319, allocations: 7.984 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1319, allocations: 0 / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1319, allocations: 0 / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1319, allocations: 3.938 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1322, allocations: 251.8 kB / 489.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1323, allocations: 120.5 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1324, allocations: 0 / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.1325, allocations: 7.984 kB / 489.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1325, allocations: 4 kB / 489.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1325, allocations: 8 kB / 489.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005929/0.1331, allocations: 0.6511 MB / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1331, allocations: 0 / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1334, allocations: 32 kB / 490 MB, free: 11.33 MB / 366.1 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.001035/0.1344, allocations: 459.5 kB / 490.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1347, allocations: 71.94 kB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1347, allocations: 4 kB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1348, allocations: 48.06 kB / 490.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1352, allocations: 31.64 kB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1365, allocations: 0.9484 MB / 491.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1369, allocations: 0.8302 MB / 492.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.137, allocations: 15.44 kB / 492.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.137, allocations: 0 / 492.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of Templates: time 0.007247/0.1442, allocations: 4.033 MB / 496.4 MB, free: 4.984 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches