Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, 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.001398/0.001398, allocations: 211.8 kB / 19.25 MB, free: 3.938 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 / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 77.06 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1382, allocations: 62.44 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003962/0.1422, allocations: 1.655 MB / 482.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1433, allocations: 0.5493 MB / 482.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1435, allocations: 0 / 482.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.1439, allocations: 95.73 kB / 483 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.1444, allocations: 115.6 kB / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1448, allocations: 95.69 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.145, allocations: 99.73 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1452, allocations: 20 kB / 483.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.1453, allocations: 39.83 kB / 483.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1454, allocations: 67.81 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1455, allocations: 4 kB / 483.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1456, allocations: 43.98 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.1457, allocations: 31.91 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.1458, allocations: 39.67 kB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.146, allocations: 119.9 kB / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.146, allocations: 0 / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1461, allocations: 4 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1461, allocations: 3.938 kB / 483.7 MB, free: 2.32 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006245/0.1467, allocations: 434.8 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1468, allocations: 12.03 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1468, allocations: 12.75 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1471, allocations: 208 kB / 484.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1471, allocations: 4.375 kB / 484.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1471, allocations: 4.375 kB / 484.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1473, allocations: 77.72 kB / 484.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1474, allocations: 0 / 484.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1474, allocations: 4 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1474, allocations: 4 kB / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1475, allocations: 39.97 kB / 484.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.148, allocations: 336.6 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1482, allocations: 58.5 kB / 484.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.1482, allocations: 28.84 kB / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1483, allocations: 0 / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1483, allocations: 34.56 kB / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1483, allocations: 0 / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001152/0.1495, allocations: 325.4 kB / 485.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1495, allocations: 55.34 kB / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1498, allocations: 239.5 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1498, allocations: 29.64 kB / 485.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.1499, allocations: 104.1 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.15, allocations: 47.36 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.15, allocations: 29.7 kB / 485.7 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1502, allocations: 326.8 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.1503, allocations: 35.98 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.1504, allocations: 39.59 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1506, allocations: 88.83 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1506, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.1509, allocations: 137.5 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1509, allocations: 7.938 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1509, allocations: 0 / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.151, allocations: 7.938 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1511, allocations: 27.98 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1511, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1512, allocations: 7.984 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1512, allocations: 4.109 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001183/0.1513, allocations: 133.8 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1514, allocations: 19.81 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.1517, allocations: 167 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1517, allocations: 3.938 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1517, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1518, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.1524, allocations: 487.1 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1524, allocations: 7.984 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.1525, allocations: 27.92 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1525, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1525, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1525, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1525, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1529, allocations: 252.1 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1529, allocations: 88.92 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.153, allocations: 8 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.153, allocations: 7.984 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1531, allocations: 7.938 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1531, allocations: 15.98 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1533, allocations: 173.2 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1533, allocations: 4 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1536, allocations: 27.98 kB / 487.8 MB, free: 13.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001128/0.1547, allocations: 455.5 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.155, allocations: 99.83 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.155, allocations: 0 / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1551, allocations: 51.91 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1555, allocations: 27.91 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.1562, allocations: 345.6 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1566, allocations: 0.7158 MB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1566, allocations: 23.44 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1566, allocations: 3.938 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004521/0.1612, allocations: 2.055 MB / 491.5 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches