Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 109.2 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.001424/0.001425, 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.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 80.17 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1477, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002974/0.1507, allocations: 1.645 MB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1519, allocations: 0.5572 MB / 481.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1519, allocations: 0 / 481.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1522, allocations: 23.91 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1525, allocations: 63.77 kB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1528, allocations: 79.47 kB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1529, allocations: 75.75 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1531, allocations: 15.98 kB / 481.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1531, allocations: 23.92 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.1532, allocations: 27.84 kB / 481.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1532, allocations: 8 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1534, allocations: 99.86 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1535, allocations: 11.94 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1536, allocations: 31.8 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1538, allocations: 139.7 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1538, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1538, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1538, allocations: 0 / 482.1 MB, free: 2.934 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.0005643/0.1544, allocations: 415.3 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1545, allocations: 12.03 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.1545, allocations: 8.844 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1547, allocations: 188.3 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1548, allocations: 8.375 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1548, allocations: 4.375 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.155, allocations: 67.52 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.155, allocations: 0 / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.155, allocations: 7.938 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.155, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1551, allocations: 31.97 kB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1556, allocations: 304.7 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1558, allocations: 58.5 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.1558, allocations: 28.97 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1559, allocations: 4 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1559, allocations: 30.56 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1559, allocations: 0 / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006982/0.1566, allocations: 185.2 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1567, allocations: 85.05 kB / 483.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1568, allocations: 160.4 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1569, allocations: 25.7 kB / 483.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1569, allocations: 92.14 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.157, allocations: 35.53 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.157, allocations: 17.72 kB / 483.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1572, allocations: 330.7 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.1573, allocations: 27.98 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1574, allocations: 53.69 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1576, allocations: 72.75 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1576, allocations: 0 / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002564/0.1578, allocations: 113.5 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1579, allocations: 6.656 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1579, allocations: 0 / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1579, allocations: 4.031 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.158, allocations: 19.98 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1581, allocations: 0 / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.1581, allocations: 11.98 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1581, allocations: 4 kB / 484.5 MB, free: 340 kB / 350.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 (9): * Single equations (assignments): 9 * 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.0001007/0.1582, allocations: 117.8 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.1583, allocations: 7.906 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.1586, allocations: 122.4 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1586, allocations: 0 / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1586, allocations: 384 / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1586, allocations: 3.984 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.1591, allocations: 402.3 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1591, allocations: 8.281 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.1592, allocations: 19.98 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1592, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1592, allocations: 11.88 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1593, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1593, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1595, allocations: 199.3 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.1596, allocations: 89.02 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1596, allocations: 3.938 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1597, allocations: 11.94 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1597, allocations: 3.984 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1597, allocations: 7.984 kB / 485.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.1598, allocations: 117.7 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1598, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1601, allocations: 43.98 kB / 485.6 MB, free: 15.08 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 (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.001135/0.1613, allocations: 493.4 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1616, allocations: 79.83 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1616, allocations: 0 / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.1617, allocations: 31.97 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.162, allocations: 19.98 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1625, allocations: 215.7 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1628, allocations: 0.7043 MB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.1629, allocations: 24.56 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.1629, allocations: 19.42 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1629, allocations: 0 / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of Templates: time 0.0048/0.1677, allocations: 1.915 MB / 489.1 MB, free: 11.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches