Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.4 MB, free: 9.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.12 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 76.53 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004406/0.1456, allocations: 1.789 MB / 481.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.148, allocations: 1.009 MB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.1481, allocations: 0 / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1485, allocations: 39.89 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1488, allocations: 79.7 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1491, allocations: 67.86 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1493, allocations: 103.7 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1494, allocations: 19.95 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.1495, allocations: 43.73 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.1496, allocations: 31.8 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1496, allocations: 4 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1498, allocations: 47.97 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.1498, allocations: 23.92 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.1499, allocations: 35.73 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1501, allocations: 119.8 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1501, allocations: 0 / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1501, allocations: 4 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1501, allocations: 0 / 482.9 MB, free: 2.16 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.0005457/0.1507, allocations: 410.9 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1507, allocations: 8.031 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1508, allocations: 16.84 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.151, allocations: 212.8 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.151, allocations: 4.312 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.151, allocations: 8.125 kB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1512, allocations: 53.67 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1512, allocations: 3.938 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1512, allocations: 0 / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1512, allocations: 0 / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.1513, allocations: 19.98 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1517, allocations: 296.8 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1518, allocations: 54.62 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.1519, allocations: 20.84 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1519, allocations: 4 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1521, allocations: 71.39 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1521, allocations: 0 / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005163/0.1527, allocations: 177.2 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1527, allocations: 55.41 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1529, allocations: 186.9 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1529, allocations: 29.7 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.153, allocations: 108.1 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.153, allocations: 27.66 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1531, allocations: 21.7 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1532, allocations: 330.8 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.1532, allocations: 16 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.1533, allocations: 37.64 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1535, allocations: 61.7 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1535, allocations: 4 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1537, allocations: 97.44 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1537, allocations: 11.98 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1537, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1537, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1538, allocations: 12 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1538, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1539, allocations: 7.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1539, allocations: 7.984 kB / 485.2 MB, free: 15.59 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.0001041/0.154, allocations: 125.9 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.154, allocations: 15.84 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.1541, allocations: 17.55 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1541, allocations: 3.938 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1541, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1541, allocations: 3.938 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.1545, allocations: 399.2 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1546, allocations: 4.031 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.1546, allocations: 11.98 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1546, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1546, allocations: 7.922 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1546, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1546, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1549, allocations: 200.3 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1549, allocations: 92.92 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1549, allocations: 12.3 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.155, allocations: 7.938 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1551, allocations: 4 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1551, allocations: 11.98 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1552, allocations: 148.8 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1552, allocations: 0 / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1555, allocations: 28.17 kB / 486.3 MB, free: 14.41 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.001057/0.1565, allocations: 459.6 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1567, allocations: 63.91 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1568, allocations: 0 / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1568, allocations: 35.98 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1572, allocations: 27.3 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1577, allocations: 263 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1579, allocations: 0.7002 MB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.158, allocations: 17.17 kB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.158, allocations: 15.44 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1581, allocations: 0 / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005777/0.1638, allocations: 1.71 MB / 489.6 MB, free: 11.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches