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.001772/0.001772, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.56 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 62.45 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003138/0.1505, allocations: 1.661 MB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.1515, allocations: 0.5456 MB / 481.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.1515, allocations: 4 kB / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1518, allocations: 19.91 kB / 481.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1521, allocations: 67.77 kB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1524, allocations: 79.09 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1526, allocations: 75.83 kB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1527, allocations: 12 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.1527, allocations: 27.84 kB / 482 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.1528, allocations: 35.86 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1529, allocations: 4 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.153, allocations: 99.86 kB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.1531, allocations: 19.92 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1532, allocations: 27.86 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1534, allocations: 147.6 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1535, allocations: 0 / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1535, allocations: 0 / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1535, allocations: 0 / 482.3 MB, free: 2.789 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.0005794/0.1541, allocations: 419.3 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1541, allocations: 12.03 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.1542, allocations: 8.844 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1544, allocations: 184.3 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1544, allocations: 4.375 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1544, allocations: 4.375 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1546, allocations: 75.45 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1546, allocations: 0 / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1547, allocations: 0 / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1547, allocations: 4 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1548, allocations: 27.97 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.1553, allocations: 304.7 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1554, allocations: 58.5 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.1555, allocations: 28.97 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1555, allocations: 3.984 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1556, allocations: 34.5 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1556, allocations: 0 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006864/0.1563, allocations: 193.2 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.1563, allocations: 81.11 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1565, allocations: 154.1 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1565, allocations: 25.7 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.1566, allocations: 92.14 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1566, allocations: 31.55 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1567, allocations: 21.72 kB / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1568, allocations: 322.8 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1569, allocations: 39.92 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.157, allocations: 49.62 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1572, allocations: 68.81 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1572, allocations: 0 / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002282/0.1574, allocations: 113.5 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1574, allocations: 4 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1574, allocations: 4.031 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1575, allocations: 4 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1576, allocations: 15.98 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1576, allocations: 4.375 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1576, allocations: 8.266 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1577, allocations: 4 kB / 484.7 MB, free: 196 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 8.703e-05/0.1578, allocations: 121.7 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.1578, allocations: 15.84 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1581, allocations: 118.3 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1581, allocations: 4 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1581, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1581, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.1587, allocations: 406.3 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1587, allocations: 0 / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1588, allocations: 19.98 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1588, allocations: 3.984 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1588, allocations: 7.938 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1588, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1588, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1591, allocations: 199.4 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.1591, allocations: 89 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1591, allocations: 3.938 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1592, allocations: 8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1593, allocations: 7.984 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1593, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.1594, allocations: 121.5 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1594, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1597, allocations: 51.92 kB / 485.8 MB, free: 14.93 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.001148/0.1609, allocations: 493.8 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1611, allocations: 79.89 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1611, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.1612, allocations: 35.91 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1616, allocations: 23.92 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.162, allocations: 217.9 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1624, allocations: 0.6963 MB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.1624, allocations: 24.56 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.1625, allocations: 19.42 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1625, allocations: 4 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004631/0.1671, allocations: 1.965 MB / 489.3 MB, free: 11.5 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