Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 104.2 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2479/0.2479, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.22 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 62.44 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003624/0.138, allocations: 1.653 MB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1392, allocations: 0.534 MB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.1392, allocations: 0 / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1395, allocations: 27.92 kB / 481.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1397, allocations: 59.75 kB / 481.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.14, allocations: 103.8 kB / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1402, allocations: 55.91 kB / 481.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1403, allocations: 4 kB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.1404, allocations: 35.8 kB / 481.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.1405, allocations: 23.84 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1405, allocations: 4 kB / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-05/0.1406, allocations: 31.92 kB / 481.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.1406, allocations: 12 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.1407, allocations: 19.81 kB / 481.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1409, allocations: 79.77 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1409, allocations: 0 / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1409, allocations: 0 / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1409, allocations: 4 kB / 481.9 MB, free: 3.086 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.000565/0.1415, allocations: 391.3 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1415, allocations: 8.875 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1416, allocations: 8.844 kB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1418, allocations: 186.8 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1418, allocations: 4.375 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1418, allocations: 4.375 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.142, allocations: 49.81 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.142, allocations: 3.906 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.142, allocations: 0 / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.142, allocations: 4 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.1421, allocations: 31.91 kB / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1426, allocations: 280.9 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1428, allocations: 46.56 kB / 482.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.1429, allocations: 20.94 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1429, allocations: 0 / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1429, allocations: 34.56 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1429, allocations: 3.938 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.1435, allocations: 149.3 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1436, allocations: 55.41 kB / 483.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1437, allocations: 154.1 kB / 483.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1438, allocations: 25.7 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.1438, allocations: 92.14 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1439, allocations: 19.8 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1439, allocations: 17.72 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.144, allocations: 322.8 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.1441, allocations: 19.98 kB / 483.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.1442, allocations: 23.98 kB / 483.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1443, allocations: 48.83 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1443, allocations: 0 / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.1445, allocations: 89.81 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1446, allocations: 7.938 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1446, allocations: 4 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1446, allocations: 3.938 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.1447, allocations: 19.98 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1447, allocations: 3.984 kB / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.1447, allocations: 11.92 kB / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1448, allocations: 4 kB / 484 MB, free: 0.7578 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.3e-05/0.1449, allocations: 117.8 kB / 484.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.1449, allocations: 7.906 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1451, allocations: 105.9 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1452, allocations: 0 / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1452, allocations: 0 / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1452, allocations: 3.938 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1456, allocations: 354.4 kB / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1456, allocations: 4 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1457, allocations: 11.98 kB / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1457, allocations: 4 kB / 484.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1457, allocations: 0 / 484.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1457, allocations: 3.938 kB / 484.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1457, allocations: 4 kB / 484.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.146, allocations: 183.4 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.146, allocations: 81.11 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1461, allocations: 0 / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1461, allocations: 16.11 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1462, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1462, allocations: 8 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1463, allocations: 117.5 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1463, allocations: 4 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1466, allocations: 12 kB / 485.1 MB, free: 15.64 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.0009395/0.1475, allocations: 398.8 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1477, allocations: 59.89 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1477, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.1478, allocations: 23.98 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1481, allocations: 19.61 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1486, allocations: 203.9 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1489, allocations: 0.6926 MB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.149, allocations: 12.23 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.149, allocations: 11.44 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.149, allocations: 3.938 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.003671/0.1527, allocations: 1.101 MB / 487.6 MB, free: 13.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches