Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001169, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3419/0.3419, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 80.89 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1257, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003095/0.1288, allocations: 1.588 MB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1305, allocations: 1.156 MB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1306, allocations: 7.938 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1308, allocations: 23.86 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.1312, allocations: 83.61 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1315, allocations: 91.69 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1317, allocations: 59.91 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.1318, allocations: 16 kB / 483 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.1318, allocations: 27.84 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.132, allocations: 35.78 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.132, allocations: 7.938 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.1322, allocations: 91.94 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1323, allocations: 8 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.1323, allocations: 31.78 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1326, allocations: 135.7 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1326, allocations: 0 / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1326, allocations: 4 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1326, allocations: 0 / 483.4 MB, free: 1.875 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.0004903/0.1331, allocations: 399.4 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1332, allocations: 12.03 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1332, allocations: 4.938 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1334, allocations: 199.3 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1335, allocations: 4.375 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1335, allocations: 4.375 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1336, allocations: 71.45 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1337, allocations: 0 / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1337, allocations: 4 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1337, allocations: 0 / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.1338, allocations: 19.98 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1341, allocations: 276.9 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1343, allocations: 50.58 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1344, allocations: 20.84 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1344, allocations: 0 / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1345, allocations: 34.56 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1345, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005829/0.1351, allocations: 149.2 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1351, allocations: 81.11 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1353, allocations: 141.8 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1353, allocations: 29.7 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.1354, allocations: 96.06 kB / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1354, allocations: 15.72 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1355, allocations: 21.72 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1356, allocations: 326.8 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.1357, allocations: 15.98 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1358, allocations: 33.7 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1359, allocations: 48.77 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1359, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/0.1361, allocations: 73.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1361, allocations: 8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1361, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1361, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.1362, allocations: 15.98 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1362, allocations: 3.938 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1363, allocations: 7.984 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-06/0.1363, allocations: 7.938 kB / 485.5 MB, free: 15.5 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 8.792e-05/0.1364, allocations: 121.8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1364, allocations: 7.906 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1367, allocations: 81.97 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1367, allocations: 4 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1367, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1367, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1371, allocations: 370.6 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1371, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.1372, allocations: 15.98 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1372, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1372, allocations: 4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1372, allocations: 3.938 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1372, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1375, allocations: 175.4 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.1375, allocations: 81.09 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1376, allocations: 7.938 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1376, allocations: 7.938 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1377, allocations: 3.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1377, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1378, allocations: 113.4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1379, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1381, allocations: 47.98 kB / 486.5 MB, free: 14.37 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.001059/0.1392, allocations: 488 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1394, allocations: 43.97 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1394, allocations: 7.938 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1395, allocations: 23.92 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1399, allocations: 21.98 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.1403, allocations: 173.4 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1406, allocations: 0.6885 MB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.1407, allocations: 20.22 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1407, allocations: 23.42 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1407, allocations: 0 / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004767/0.1455, allocations: 1.736 MB / 489.7 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches