Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 76.09 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003607/0.1267, allocations: 1.656 MB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1287, allocations: 1.14 MB / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1288, allocations: 0 / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1292, allocations: 19.92 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.1296, allocations: 71.75 kB / 482.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.13, allocations: 79.11 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1302, allocations: 63.83 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1303, allocations: 15.98 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.1304, allocations: 27.88 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.1306, allocations: 35.83 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1306, allocations: 4 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.1308, allocations: 99.88 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.1309, allocations: 11.98 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1309, allocations: 23.81 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1313, allocations: 131.7 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1313, allocations: 4 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1313, allocations: 0 / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1313, allocations: 0 / 482.9 MB, free: 2.227 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.0005808/0.1319, allocations: 403.4 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.132, allocations: 8.031 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.1321, allocations: 4.938 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1323, allocations: 196.1 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1324, allocations: 4.375 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1324, allocations: 384 / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1326, allocations: 67.52 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1327, allocations: 4 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1327, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1327, allocations: 4 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1328, allocations: 23.92 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.1333, allocations: 280.9 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1336, allocations: 46.56 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1337, allocations: 16.8 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1337, allocations: 4 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1337, allocations: 34.64 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1338, allocations: 0 / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007675/0.1345, allocations: 145.2 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1346, allocations: 85.11 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1348, allocations: 141.8 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1348, allocations: 29.64 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1349, allocations: 96.12 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1349, allocations: 15.72 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.1349, allocations: 21.7 kB / 484.4 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1351, allocations: 322.7 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.1352, allocations: 23.98 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.1352, allocations: 33.77 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1354, allocations: 44.83 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1354, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.1356, allocations: 85.59 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1356, allocations: 10.22 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1357, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1357, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1358, allocations: 12 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1358, allocations: 3.984 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1358, allocations: 4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1358, allocations: 3.938 kB / 485 MB, free: 15.86 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.046e-05/0.1359, allocations: 113.8 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.136, allocations: 7.906 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1362, allocations: 101.9 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1363, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1363, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1363, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.1368, allocations: 350.4 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1368, allocations: 0 / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.1368, allocations: 24.23 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1368, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1369, allocations: 4 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1369, allocations: 3.938 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1369, allocations: 0 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1371, allocations: 175.4 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1372, allocations: 85.11 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1372, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1373, allocations: 11.94 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1374, allocations: 7.984 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1374, allocations: 3.938 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.324e-05/0.1375, allocations: 115.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1375, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000312/0.1378, allocations: 36 kB / 486 MB, free: 14.73 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.00114/0.1389, allocations: 0.4888 MB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1392, allocations: 51.91 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1392, allocations: 0 / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.1393, allocations: 23.98 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1397, allocations: 23.3 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.1401, allocations: 197.4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1404, allocations: 0.6885 MB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1405, allocations: 7.984 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1405, allocations: 19.42 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1405, allocations: 4 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004955/0.1455, allocations: 1.738 MB / 489.2 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches