Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001424, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 72.28 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 62.46 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.006215/0.146, allocations: 1.602 MB / 481.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1478, allocations: 0.5377 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.148, allocations: 4 kB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.1485, allocations: 83.69 kB / 482.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.1491, allocations: 99.59 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.1496, allocations: 87.75 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1498, allocations: 87.75 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.15, allocations: 19.98 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.1501, allocations: 27.92 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1503, allocations: 55.81 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1503, allocations: 7.938 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1505, allocations: 51.91 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.1506, allocations: 23.92 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1507, allocations: 27.75 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.151, allocations: 107.7 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.151, allocations: 4 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.151, allocations: 0 / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.151, allocations: 0 / 482.8 MB, free: 2.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000704/0.1517, allocations: 403.2 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.1518, allocations: 8.031 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.727e-05/0.1519, allocations: 16.83 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1523, allocations: 200.8 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1524, allocations: 4.375 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.1524, allocations: 12.36 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1527, allocations: 57.8 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1527, allocations: 0 / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1528, allocations: 0 / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1528, allocations: 3.938 kB / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1529, allocations: 27.97 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.1537, allocations: 304.6 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1539, allocations: 42.56 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.154, allocations: 20.94 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.154, allocations: 0 / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1541, allocations: 34.5 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.1541, allocations: 0 / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001337/0.1554, allocations: 229.1 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.1555, allocations: 59.34 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1558, allocations: 218.3 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1559, allocations: 25.7 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.1559, allocations: 108.1 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.156, allocations: 27.56 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.1561, allocations: 21.72 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1562, allocations: 318.8 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.1563, allocations: 27.97 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1565, allocations: 28 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1567, allocations: 60.83 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1567, allocations: 0 / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002459/0.1569, allocations: 101.6 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1569, allocations: 4 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.157, allocations: 3.938 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.157, allocations: 7.984 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1571, allocations: 12 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1571, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1572, allocations: 15.92 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1572, allocations: 4 kB / 485.2 MB, free: 15.88 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.0001048/0.1573, allocations: 125.8 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.1573, allocations: 11.81 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.1576, allocations: 122.9 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1576, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1577, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1577, allocations: 7.938 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.1582, allocations: 407.7 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1582, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.1583, allocations: 19.98 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1583, allocations: 3.938 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1583, allocations: 432 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1583, allocations: 8.109 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1583, allocations: 3.984 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1586, allocations: 208.1 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.1587, allocations: 88.95 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1587, allocations: 4 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.1588, allocations: 15.97 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1588, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1588, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.159, allocations: 168.2 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.159, allocations: 3.938 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1593, allocations: 24 kB / 486.4 MB, free: 14.56 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.001194/0.1605, allocations: 440.5 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1607, allocations: 67.89 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1607, allocations: 0 / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.1608, allocations: 35.92 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1613, allocations: 23.98 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.1619, allocations: 262.9 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1623, allocations: 0.7157 MB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1624, allocations: 12.97 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1624, allocations: 15.42 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1624, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004476/0.1669, allocations: 1.354 MB / 489.3 MB, free: 11.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches