Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 76.95 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 62.45 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003433/0.132, allocations: 1.701 MB / 481.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1331, allocations: 0.5728 MB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1332, allocations: 0 / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.1338, allocations: 455.1 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1343, allocations: 283.5 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.1347, allocations: 163.4 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1349, allocations: 175.6 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.135, allocations: 15.98 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1352, allocations: 107.8 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1354, allocations: 227.5 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1354, allocations: 4 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.1355, allocations: 31.94 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1356, allocations: 91.61 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.1357, allocations: 103 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.136, allocations: 255 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.136, allocations: 0 / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.136, allocations: 0 / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.136, allocations: 3.984 kB / 483.6 MB, free: 1.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007208/0.1368, allocations: 0.6378 MB / 484.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1368, allocations: 8.031 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.1369, allocations: 44.38 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1372, allocations: 300.1 kB / 484.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1372, allocations: 4.375 kB / 484.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1373, allocations: 4.375 kB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1374, allocations: 61.8 kB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1374, allocations: 4 kB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1375, allocations: 4 kB / 484.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1375, allocations: 0 / 484.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1376, allocations: 35.91 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1381, allocations: 392.7 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1383, allocations: 46.56 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1384, allocations: 20.94 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1384, allocations: 0 / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1385, allocations: 30.56 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1385, allocations: 4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006458/0.1391, allocations: 239.8 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1392, allocations: 55.41 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.14, allocations: 0.866 MB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.14, allocations: 25.7 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1402, allocations: 228 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1402, allocations: 19.8 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1402, allocations: 17.72 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1404, allocations: 370.7 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.1405, allocations: 23.98 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.1406, allocations: 19.98 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1407, allocations: 52.83 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1407, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.1409, allocations: 121.1 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.141, allocations: 4 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.141, allocations: 4 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.141, allocations: 4 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.1411, allocations: 15.92 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1411, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1412, allocations: 11.88 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1412, allocations: 0 / 487.3 MB, free: 13.56 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 (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 0.0001828/0.1414, allocations: 217.8 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.1414, allocations: 39.44 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.1417, allocations: 149.4 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1417, allocations: 0 / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.1417, allocations: 4.344 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1418, allocations: 3.938 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1423, allocations: 470.4 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1423, allocations: 0 / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1424, allocations: 23.91 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1424, allocations: 0 / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1424, allocations: 3.938 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1424, allocations: 4 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1424, allocations: 0 / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1426, allocations: 218.9 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.1427, allocations: 108.6 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1428, allocations: 7.938 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1428, allocations: 7.984 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1429, allocations: 0 / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1429, allocations: 4 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.1435, allocations: 0.6589 MB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1435, allocations: 0 / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1437, allocations: 27.91 kB / 489.2 MB, free: 11.54 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.0008912/0.1446, allocations: 400.8 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1448, allocations: 59.89 kB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1449, allocations: 0 / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.1449, allocations: 27.98 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1454, allocations: 29.23 kB / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1465, allocations: 0.8853 MB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1469, allocations: 0.826 MB / 491.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.147, allocations: 15.98 kB / 491.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.147, allocations: 11.44 kB / 491.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.147, allocations: 0 / 491.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.004665/0.1517, allocations: 1.483 MB / 492.9 MB, free: 7.895 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches