Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 203.5 kB / 19.36 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003128/0.1303, allocations: 1.75 MB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1318, allocations: 1.021 MB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.1319, allocations: 7.938 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1323, allocations: 87.67 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1326, allocations: 119.6 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1328, allocations: 79.67 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.133, allocations: 123.7 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1331, allocations: 12 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.1332, allocations: 59.75 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1333, allocations: 67.75 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1333, allocations: 4 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1334, allocations: 63.92 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.1335, allocations: 23.91 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1336, allocations: 51.66 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1338, allocations: 143.5 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1338, allocations: 0 / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1338, allocations: 0 / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1338, allocations: 0 / 485.1 MB, free: 0.8789 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.000581/0.1344, allocations: 442.8 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1344, allocations: 8.031 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1345, allocations: 12.84 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1348, allocations: 221.6 kB / 485.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1348, allocations: 4.375 kB / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1349, allocations: 8.125 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.135, allocations: 61.67 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.135, allocations: 0 / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.135, allocations: 3.938 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1351, allocations: 4 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.1351, allocations: 27.95 kB / 485.9 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1355, allocations: 300.7 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1358, allocations: 66.55 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.1358, allocations: 20.92 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1359, allocations: 3.938 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.136, allocations: 75.36 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1361, allocations: 0 / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007309/0.1368, allocations: 245.1 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1368, allocations: 55.34 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1371, allocations: 239 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1371, allocations: 33.69 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1372, allocations: 108.1 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1372, allocations: 31.55 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1373, allocations: 33.7 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1374, allocations: 326.8 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.1375, allocations: 27.98 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.1375, allocations: 53.52 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1377, allocations: 77.7 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1377, allocations: 0 / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002074/0.1379, allocations: 129.4 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1379, allocations: 8.031 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.1379, allocations: 4 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1379, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.138, allocations: 19.98 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.138, allocations: 7.938 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1381, allocations: 4 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1381, allocations: 8 kB / 487.7 MB, free: 14.03 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 (13): * Single equations (assignments): 13 * 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.0001068/0.1382, allocations: 136.3 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1383, allocations: 15.81 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1383, allocations: 25.41 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1383, allocations: 3.984 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1383, allocations: 3.938 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1383, allocations: 0 / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1389, allocations: 459.9 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1389, allocations: 0 / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.1389, allocations: 16 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1389, allocations: 8.062 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.139, allocations: 3.938 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.139, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.139, allocations: 7.984 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1393, allocations: 225 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.1393, allocations: 92.92 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1394, allocations: 8 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.1394, allocations: 3.984 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1395, allocations: 7.984 kB / 488.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1395, allocations: 12.08 kB / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1396, allocations: 176.4 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 0 / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1399, allocations: 31.98 kB / 488.9 MB, free: 12.7 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 (11): * Single equations (assignments): 9 * 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.001153/0.1411, allocations: 0.4957 MB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1413, allocations: 79.84 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1413, allocations: 0 / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.1414, allocations: 39.92 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1418, allocations: 35.89 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.1423, allocations: 288.8 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1426, allocations: 0.7198 MB / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1427, allocations: 12.64 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1427, allocations: 27.36 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1427, allocations: 7.938 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004685/0.1474, allocations: 1.998 MB / 492.6 MB, free: 9.148 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches