Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 85.67 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1452, allocations: 62.44 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003671/0.1489, allocations: 1.781 MB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1508, allocations: 1.017 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.1509, allocations: 0 / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1513, allocations: 47.77 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1516, allocations: 75.73 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1518, allocations: 63.83 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.152, allocations: 99.67 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1521, allocations: 16 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.1522, allocations: 35.8 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.1523, allocations: 39.77 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1523, allocations: 0 / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1524, allocations: 43.98 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.1525, allocations: 23.86 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.1526, allocations: 35.72 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1528, allocations: 115.9 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1528, allocations: 0 / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1528, allocations: 4 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1528, allocations: 0 / 482.7 MB, free: 2.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006601/0.1535, allocations: 418.9 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1535, allocations: 8.875 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1536, allocations: 8.844 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1538, allocations: 208.7 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1539, allocations: 4.375 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1539, allocations: 8.125 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1541, allocations: 57.67 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1541, allocations: 4 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1541, allocations: 3.984 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1541, allocations: 4 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.1542, allocations: 15.98 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1546, allocations: 292.8 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1548, allocations: 62.62 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1548, allocations: 20.84 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1549, allocations: 0 / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1551, allocations: 67.39 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1551, allocations: 0 / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005781/0.1557, allocations: 173.2 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1558, allocations: 55.41 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.156, allocations: 194.9 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.156, allocations: 25.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.1561, allocations: 104.1 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1561, allocations: 19.72 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1561, allocations: 29.7 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1563, allocations: 330.7 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.1564, allocations: 19.98 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1565, allocations: 45.72 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1566, allocations: 49.72 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1566, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.1568, allocations: 113.3 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1569, allocations: 4 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1569, allocations: 3.938 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1569, allocations: 8.031 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.157, allocations: 12 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.157, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.1571, allocations: 15.86 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1571, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001369/0.1572, allocations: 125.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1573, allocations: 7.906 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1573, allocations: 17.39 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1573, allocations: 4.375 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1573, allocations: 4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1574, allocations: 3.938 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1579, allocations: 403.2 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1579, allocations: 8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1579, allocations: 7.938 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1579, allocations: 4 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1579, allocations: 4.031 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1582, allocations: 196.5 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1583, allocations: 96.89 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1583, allocations: 7.938 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1584, allocations: 4 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1584, allocations: 3.984 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1584, allocations: 8 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1586, allocations: 152.7 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1586, allocations: 4 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1589, allocations: 20 kB / 486.1 MB, free: 14.58 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001146/0.16, allocations: 462.1 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1602, allocations: 59.91 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1602, allocations: 0 / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.1603, allocations: 31.92 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1607, allocations: 23.98 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1612, allocations: 256.9 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1615, allocations: 0.7043 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.1616, allocations: 25.11 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1617, allocations: 15.44 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1617, allocations: 0 / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004693/0.1664, allocations: 1.655 MB / 489.3 MB, free: 11.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches