Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 80.06 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 62.45 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003795/0.1434, allocations: 1.808 MB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1453, allocations: 1.017 MB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.1454, allocations: 4 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1456, allocations: 103.8 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1459, allocations: 111.6 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1462, allocations: 63.86 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1464, allocations: 127.7 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.1465, allocations: 12 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.1466, allocations: 59.7 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.1467, allocations: 59.81 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1467, allocations: 4 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1469, allocations: 67.89 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1469, allocations: 23.92 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.147, allocations: 51.61 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1472, allocations: 155.7 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1472, allocations: 0 / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1473, allocations: 0 / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.1473, allocations: 4 kB / 483 MB, free: 2.055 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005985/0.1479, allocations: 450.7 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1479, allocations: 12.03 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.148, allocations: 8.844 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1483, allocations: 232.8 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1483, allocations: 384 / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1483, allocations: 12.06 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1485, allocations: 65.66 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1485, allocations: 8 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1485, allocations: 4 kB / 483.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1485, allocations: 3.984 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1486, allocations: 31.97 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1491, allocations: 316.7 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1494, allocations: 70.55 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.1495, allocations: 36.78 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1496, allocations: 4 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.1498, allocations: 79.55 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.1498, allocations: 0 / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008608/0.1507, allocations: 273.5 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.1508, allocations: 59.34 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.1511, allocations: 255.8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1512, allocations: 25.7 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.1513, allocations: 112.1 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.1513, allocations: 47.44 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1514, allocations: 25.72 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1516, allocations: 334.8 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.1517, allocations: 31.98 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.1518, allocations: 53.7 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.152, allocations: 89.64 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.152, allocations: 0 / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002583/0.1523, allocations: 133.6 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1523, allocations: 4 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1523, allocations: 7.938 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1523, allocations: 7.969 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.1524, allocations: 27.98 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1524, allocations: 3.938 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1525, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1525, allocations: 4 kB / 485.7 MB, free: 15.05 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 (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.0001251/0.1526, allocations: 141.8 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1527, allocations: 15.81 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.1527, allocations: 25.45 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1528, allocations: 7.938 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1528, allocations: 7.938 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1528, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1533, allocations: 476 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1533, allocations: 3.984 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.1534, allocations: 15.94 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1534, allocations: 4 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1534, allocations: 8.062 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1534, allocations: 4 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1534, allocations: 96 / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1537, allocations: 256.8 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1538, allocations: 88.92 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1539, allocations: 11.98 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.154, allocations: 8 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.154, allocations: 11.98 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.154, allocations: 4 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.1542, allocations: 193.5 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1542, allocations: 0 / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1545, allocations: 35.98 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001352/0.1558, allocations: 0.4963 MB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.1561, allocations: 87.91 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1561, allocations: 0 / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1563, allocations: 47.86 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1567, allocations: 39.91 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.1574, allocations: 350.7 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.158, allocations: 0.7243 MB / 488.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.1581, allocations: 25.06 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.1581, allocations: 23.42 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1582, allocations: 0 / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005218/0.1634, allocations: 2.012 MB / 490.8 MB, free: 9.984 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches