Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001812/0.001812, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002346/0.002347, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.4 MB, free: 9.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 80.73 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003322/0.138, allocations: 1.661 MB / 481.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.139, allocations: 0.5301 MB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1391, allocations: 0 / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1393, allocations: 27.84 kB / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1396, allocations: 63.77 kB / 481.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1399, allocations: 99.8 kB / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1401, allocations: 59.91 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1402, allocations: 19.98 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.1402, allocations: 23.81 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.1403, allocations: 27.84 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1403, allocations: 0 / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.1404, allocations: 31.98 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.1404, allocations: 12 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.1405, allocations: 27.8 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1406, allocations: 79.78 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1406, allocations: 4 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1406, allocations: 0 / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1407, allocations: 3.938 kB / 482.1 MB, free: 2.906 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004438/0.1411, allocations: 383.4 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1411, allocations: 8.031 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1412, allocations: 8.844 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1414, allocations: 188.3 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1414, allocations: 384 / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1414, allocations: 384 / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1416, allocations: 57.81 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1416, allocations: 3.906 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.1416, allocations: 0 / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1416, allocations: 0 / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.1417, allocations: 31.91 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1421, allocations: 276.9 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1424, allocations: 50.55 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1424, allocations: 12.86 kB / 483.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1425, allocations: 8.016 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1425, allocations: 38.55 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1425, allocations: 0 / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005812/0.1431, allocations: 157.2 kB / 483.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1431, allocations: 51.41 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1433, allocations: 146.2 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1433, allocations: 29.7 kB / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.1434, allocations: 92.12 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1434, allocations: 15.81 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1434, allocations: 13.72 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1436, allocations: 330.8 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.1437, allocations: 23.92 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.1437, allocations: 24.16 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1439, allocations: 52.83 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1439, allocations: 0 / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.1441, allocations: 97.45 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1441, allocations: 7.984 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1442, allocations: 0 / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1442, allocations: 0 / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.1442, allocations: 12 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1443, allocations: 0 / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1443, allocations: 7.984 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1443, allocations: 0 / 484.2 MB, free: 0.5977 MB / 350.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 (5): * Single equations (assignments): 5 * 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 9.175e-05/0.1444, allocations: 117.8 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1444, allocations: 12.19 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1447, allocations: 105.8 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1447, allocations: 3.984 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1447, allocations: 0 / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1447, allocations: 0 / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.1452, allocations: 362.4 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1452, allocations: 4 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1452, allocations: 11.98 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1453, allocations: 0 / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1453, allocations: 4.188 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1453, allocations: 11.88 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1453, allocations: 0 / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1455, allocations: 183.4 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1456, allocations: 77.11 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1456, allocations: 4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1457, allocations: 11.92 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1457, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1457, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.1458, allocations: 121.5 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1458, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1461, allocations: 8 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000903/0.147, allocations: 405.6 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1472, allocations: 63.89 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1472, allocations: 3.938 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.1473, allocations: 27.98 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1477, allocations: 14.98 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.1481, allocations: 210 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1484, allocations: 0.6963 MB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.1484, allocations: 19.97 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1485, allocations: 11.44 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1485, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003299/0.1518, allocations: 1.115 MB / 487.8 MB, free: 13.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches