Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009839/0.0009839, allocations: 96.11 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 200.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003105/0.1246, allocations: 1.446 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1269, allocations: 0.998 MB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.127, allocations: 0 / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1275, allocations: 55.81 kB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.1279, allocations: 83.73 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1282, allocations: 63.86 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.1285, allocations: 111.6 kB / 485.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1286, allocations: 4 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1287, allocations: 43.78 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1288, allocations: 39.78 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1288, allocations: 0 / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.129, allocations: 43.98 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1291, allocations: 31.84 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.1292, allocations: 65.38 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1295, allocations: 131.8 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1295, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1295, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1295, allocations: 0 / 486.2 MB, free: 1.016 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.0007083/0.1302, allocations: 426.9 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1303, allocations: 12.88 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.1303, allocations: 16.75 kB / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1307, allocations: 216.9 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1307, allocations: 8.375 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1308, allocations: 4.125 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.131, allocations: 53.67 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.131, allocations: 4 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.131, allocations: 0 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.131, allocations: 0 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.1311, allocations: 23.98 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1317, allocations: 300.7 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1319, allocations: 54.69 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1319, allocations: 20.84 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.132, allocations: 11.98 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1322, allocations: 67.39 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.306e-06/0.1322, allocations: 3.938 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005934/0.1328, allocations: 185 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1328, allocations: 51.41 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1332, allocations: 267 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1332, allocations: 33.64 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.1333, allocations: 124 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1333, allocations: 19.8 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1334, allocations: 9.719 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1336, allocations: 334.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1336, allocations: 20 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.1337, allocations: 37.7 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1338, allocations: 57.7 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1338, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.1341, allocations: 113.3 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1341, allocations: 4 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1341, allocations: 3.984 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1341, allocations: 4 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.1342, allocations: 15.94 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.1342, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.1343, allocations: 11.88 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1343, allocations: 8.031 kB / 488.7 MB, free: 14.3 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.000148/0.1345, allocations: 137.8 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1345, allocations: 15.81 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1346, allocations: 21.41 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1346, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1346, allocations: 4 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1346, allocations: 7.922 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.1351, allocations: 399.3 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1351, allocations: 3.984 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.1352, allocations: 12 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1352, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1352, allocations: 7.938 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1352, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1352, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1355, allocations: 212.2 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.1355, allocations: 92.91 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1356, allocations: 4.125 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.1357, allocations: 7.938 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1357, allocations: 16.3 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1357, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.136, allocations: 208.4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1362, allocations: 32 kB / 489.8 MB, free: 13.04 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.0012/0.1374, allocations: 455.5 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1377, allocations: 63.91 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1377, allocations: 0 / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.1377, allocations: 27.94 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1381, allocations: 27.97 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1387, allocations: 331 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1391, allocations: 0.716 MB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.1391, allocations: 16.88 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.1392, allocations: 15.44 kB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1392, allocations: 0 / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004903/0.1441, allocations: 1.668 MB / 493.1 MB, free: 9.855 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches