Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.00155, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 90.62 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 62.45 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003675/0.1357, allocations: 1.826 MB / 482.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1387, allocations: 1.7 MB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1389, allocations: 3.938 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1392, allocations: 55.69 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.1397, allocations: 135.4 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.14, allocations: 107.6 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1403, allocations: 191.5 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.1404, allocations: 21.67 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1405, allocations: 83.58 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1407, allocations: 79.61 kB / 485 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.1408, allocations: 11.94 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.141, allocations: 111.9 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.1411, allocations: 35.84 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.1412, allocations: 67.53 kB / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.1415, allocations: 223.6 kB / 485.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1415, allocations: 0 / 485.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1415, allocations: 0 / 485.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1416, allocations: 8 kB / 485.4 MB, free: 0.5508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008051/0.1424, allocations: 494.5 kB / 485.9 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1424, allocations: 8.031 kB / 485.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1425, allocations: 20.7 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1429, allocations: 252.9 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1429, allocations: 8.375 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1429, allocations: 4.125 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1432, allocations: 105 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1432, allocations: 0 / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1432, allocations: 0 / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1432, allocations: 4 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1434, allocations: 27.98 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1437, allocations: 214.5 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.144, allocations: 117.2 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1441, allocations: 45.62 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1441, allocations: 0 / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.1444, allocations: 120.9 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1445, allocations: 0 / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004872/0.1449, allocations: 161.4 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.1451, allocations: 136.5 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.1454, allocations: 233.6 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1454, allocations: 29.7 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.1455, allocations: 120.1 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.1455, allocations: 23.66 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.1456, allocations: 29.7 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1458, allocations: 326.8 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.1459, allocations: 27.98 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.146, allocations: 73.62 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1462, allocations: 91.36 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1462, allocations: 3.938 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003121/0.1466, allocations: 153.2 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1466, allocations: 8 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1466, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1466, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1467, allocations: 23.98 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1468, allocations: 0 / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.1468, allocations: 8 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1469, allocations: 4 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001327/0.147, allocations: 137.7 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1471, allocations: 27.72 kB / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.1471, allocations: 16.98 kB / 488.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1471, allocations: 4 kB / 488.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1471, allocations: 0 / 488.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1471, allocations: 0 / 488.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1474, allocations: 229.4 kB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1474, allocations: 4 kB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.1474, allocations: 7.984 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1474, allocations: 4 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1475, allocations: 128 / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1475, allocations: 8 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1475, allocations: 4 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1478, allocations: 169.6 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1479, allocations: 96.91 kB / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.148, allocations: 4 kB / 488.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.148, allocations: 11.98 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1481, allocations: 11.94 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1481, allocations: 7.984 kB / 489 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.1483, allocations: 176.5 kB / 489.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1483, allocations: 0 / 489.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1486, allocations: 55.98 kB / 489.2 MB, free: 12.38 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001772/0.1504, allocations: 488 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1507, allocations: 83.89 kB / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1507, allocations: 8.125 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1509, allocations: 39.92 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1513, allocations: 65.56 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.1519, allocations: 317.6 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1524, allocations: 0.7242 MB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.1524, allocations: 39.34 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1524, allocations: 0 / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Templates: time 0.006123/0.1586, allocations: 3.163 MB / 494.1 MB, free: 7.582 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches