Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008337, 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.0009317/0.0009317, 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.359/1.359, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002773, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002056/0.1322, allocations: 1.365 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1334, allocations: 0.5301 MB / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.1335, allocations: 4 kB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1338, allocations: 23.91 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.134, allocations: 71.75 kB / 485.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1343, allocations: 87.08 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1345, allocations: 79.77 kB / 485.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1346, allocations: 24 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.1347, allocations: 31.84 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.1348, allocations: 27.84 kB / 485.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1348, allocations: 4 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.135, allocations: 47.97 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.135, allocations: 7.938 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.1351, allocations: 65.38 kB / 485.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1353, allocations: 99.95 kB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1353, allocations: 0 / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1353, allocations: 0 / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1353, allocations: 4 kB / 485.6 MB, free: 1.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005476/0.1359, allocations: 391.2 kB / 485.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1359, allocations: 12.88 kB / 485.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.136, allocations: 8.844 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1362, allocations: 202.5 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1362, allocations: 384 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1363, allocations: 12.31 kB / 486.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1365, allocations: 77.72 kB / 486.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1365, allocations: 8 kB / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1365, allocations: 0 / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1365, allocations: 0 / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1367, allocations: 47.91 kB / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1371, allocations: 320.6 kB / 486.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1373, allocations: 62.56 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.1373, allocations: 24.84 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1374, allocations: 0 / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1374, allocations: 38.5 kB / 486.7 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1374, allocations: 4 kB / 486.7 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.1386, allocations: 333.5 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1386, allocations: 51.41 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1388, allocations: 165.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1388, allocations: 29.7 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1389, allocations: 104 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.139, allocations: 43.36 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.139, allocations: 13.72 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1391, allocations: 326.8 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1392, allocations: 39.97 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.1393, allocations: 40.09 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1395, allocations: 100.8 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1396, allocations: 0 / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000271/0.1398, allocations: 149 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1399, allocations: 7.938 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1399, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1399, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.14, allocations: 31.97 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.14, allocations: 0 / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1401, allocations: 12 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1401, allocations: 12 kB / 488.2 MB, free: 14.83 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 (13): * Single equations (assignments): 13 * 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.945e-05/0.1402, allocations: 121.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1403, allocations: 19.84 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.1407, allocations: 166.4 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1407, allocations: 0 / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1407, allocations: 3.984 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1407, allocations: 0 / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.1413, allocations: 491 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1414, allocations: 0 / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.1415, allocations: 27.98 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1415, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1415, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1415, allocations: 4 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1415, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.1418, allocations: 252.1 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1419, allocations: 89.02 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1419, allocations: 3.984 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.142, allocations: 12 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1421, allocations: 11.98 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1421, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1422, allocations: 134.8 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1422, allocations: 3.938 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1425, allocations: 24 kB / 489.5 MB, free: 13.38 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 (13): * Single equations (assignments): 13 * 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.001125/0.1436, allocations: 447.2 kB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1439, allocations: 103.9 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1439, allocations: 4 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1441, allocations: 55.92 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1444, allocations: 20.14 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.1451, allocations: 298.5 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1454, allocations: 0.7082 MB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.872e-05/0.1455, allocations: 28.53 kB / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1456, allocations: 15.44 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1456, allocations: 0 / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.004365/0.1499, allocations: 1.429 MB / 492.6 MB, free: 10.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches