Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, allocations: 115.7 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 78.84 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1289, allocations: 62.44 MB / 479.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003345/0.1323, allocations: 1.657 MB / 481.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009065/0.1332, allocations: 0.5184 MB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.1333, allocations: 0 / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1336, allocations: 23.92 kB / 481.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1339, allocations: 71.75 kB / 481.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1342, allocations: 91.28 kB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1344, allocations: 55.91 kB / 481.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1345, allocations: 15.92 kB / 481.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.1346, allocations: 27.81 kB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.1347, allocations: 27.84 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1347, allocations: 0 / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.1348, allocations: 31.98 kB / 482 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1348, allocations: 12 kB / 482 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.1349, allocations: 23.8 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1351, allocations: 75.78 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1351, allocations: 4 kB / 482.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1351, allocations: 0 / 482.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1351, allocations: 0 / 482.1 MB, free: 3.004 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.0004412/0.1355, allocations: 391.3 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1356, allocations: 8.031 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1356, allocations: 8.844 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1358, allocations: 180.3 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1358, allocations: 12.38 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1359, allocations: 384 / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.136, allocations: 49.81 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.136, allocations: 3.906 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.136, allocations: 0 / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.136, allocations: 0 / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.1361, allocations: 27.91 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1365, allocations: 276.9 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1367, allocations: 46.55 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1368, allocations: 16.86 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1368, allocations: 0 / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1369, allocations: 30.56 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1369, allocations: 7.938 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005469/0.1374, allocations: 145.4 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1375, allocations: 55.41 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1376, allocations: 146.1 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1376, allocations: 29.7 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1377, allocations: 96.12 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1377, allocations: 15.81 kB / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1378, allocations: 21.7 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1379, allocations: 318.8 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.138, allocations: 19.98 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.138, allocations: 15.98 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1382, allocations: 44.83 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1382, allocations: 4 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.1384, allocations: 81.56 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1384, allocations: 10.28 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1384, allocations: 3.938 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1384, allocations: 7.938 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.1385, allocations: 8 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1385, allocations: 0 / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1385, allocations: 11.98 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1386, allocations: 4 kB / 484.2 MB, free: 0.7266 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 8.297e-05/0.1386, allocations: 121.8 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1387, allocations: 4.188 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1389, allocations: 93.89 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1389, allocations: 7.984 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1389, allocations: 0 / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1389, allocations: 3.938 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.1393, allocations: 354.7 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1394, allocations: 0 / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.1394, allocations: 11.98 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1394, allocations: 0 / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1394, allocations: 4 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1394, allocations: 3.938 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1394, allocations: 0 / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1397, allocations: 183.4 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1397, allocations: 77.11 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1397, allocations: 8 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.1398, allocations: 7.922 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1399, allocations: 4 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1399, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.1399, allocations: 122 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.14, allocations: 4 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1402, allocations: 16 kB / 485.2 MB, free: 15.62 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.0009883/0.1412, allocations: 400.4 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1414, allocations: 47.91 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1414, allocations: 0 / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.1415, allocations: 27.98 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.142, allocations: 15.36 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.1425, allocations: 194 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1429, allocations: 0.7001 MB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.143, allocations: 7.984 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.143, allocations: 19.38 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.143, allocations: 0 / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004363/0.1474, allocations: 1.088 MB / 487.7 MB, free: 13.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches