Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2544/0.2544, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 76.27 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1413, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003402/0.1447, allocations: 1.789 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1465, allocations: 1.013 MB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.1466, allocations: 3.938 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.147, allocations: 39.89 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1472, allocations: 75.73 kB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1474, allocations: 63.81 kB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1476, allocations: 103.7 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1477, allocations: 8 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.1478, allocations: 39.8 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.1479, allocations: 39.7 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1479, allocations: 4 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.148, allocations: 39.98 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1481, allocations: 23.91 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.1482, allocations: 27.81 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1484, allocations: 111.9 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1484, allocations: 0 / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1484, allocations: 4 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1484, allocations: 3.938 kB / 482.7 MB, free: 2.34 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.0006231/0.149, allocations: 411 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1491, allocations: 12.88 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1491, allocations: 12.75 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1494, allocations: 204.1 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1495, allocations: 4.375 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1495, allocations: 8.125 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1497, allocations: 57.67 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1497, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1497, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1497, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.1498, allocations: 23.92 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1503, allocations: 284.9 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1505, allocations: 62.67 kB / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/0.1506, allocations: 16.86 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1506, allocations: 3.984 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.1508, allocations: 71.33 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.1508, allocations: 0 / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006151/0.1514, allocations: 169.4 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1515, allocations: 59.39 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1517, allocations: 183.3 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1517, allocations: 29.64 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.1518, allocations: 104 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1519, allocations: 27.67 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.1519, allocations: 25.72 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1521, allocations: 326.8 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.1522, allocations: 23.98 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1522, allocations: 37.7 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1524, allocations: 57.64 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1524, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1526, allocations: 105.5 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1526, allocations: 7.938 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1526, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1527, allocations: 12.02 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1528, allocations: 12 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1528, allocations: 3.984 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1528, allocations: 7.938 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1529, allocations: 0 / 485 MB, free: 15.79 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.000128/0.153, allocations: 121.8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.153, allocations: 11.91 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.1531, allocations: 17.39 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1531, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1531, allocations: 4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1531, allocations: 3.938 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.1536, allocations: 395.2 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1536, allocations: 3.984 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1537, allocations: 11.94 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1537, allocations: 0 / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1537, allocations: 7.938 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1537, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1537, allocations: 4.031 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.154, allocations: 200.5 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.154, allocations: 89 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1541, allocations: 7.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1542, allocations: 4 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1542, allocations: 11.98 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1542, allocations: 4 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1544, allocations: 139.8 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1546, allocations: 28.17 kB / 486 MB, free: 14.63 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.001097/0.1557, allocations: 457.1 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1559, allocations: 59.91 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1559, allocations: 0 / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.156, allocations: 27.98 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1564, allocations: 27.88 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.1569, allocations: 253 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1572, allocations: 0.7043 MB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.1573, allocations: 25.17 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.1574, allocations: 15.44 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1574, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004638/0.162, allocations: 1.652 MB / 489.2 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches