Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001052, allocations: 104.4 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.001281/0.001281, allocations: 216.5 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.395/1.395, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 77.31 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 62.45 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003125/0.1339, allocations: 1.615 MB / 481.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1349, allocations: 0.5416 MB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.135, allocations: 0 / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1353, allocations: 71.77 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1356, allocations: 111.6 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1359, allocations: 91.7 kB / 482.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1361, allocations: 79.88 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1362, allocations: 19.92 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1362, allocations: 35.84 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1364, allocations: 55.81 kB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1364, allocations: 4 kB / 482.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.1365, allocations: 43.98 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.1365, allocations: 23.92 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.1366, allocations: 35.73 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1368, allocations: 99.7 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1368, allocations: 0 / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1368, allocations: 0 / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1368, allocations: 0 / 482.8 MB, free: 2.438 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.0004802/0.1373, allocations: 419.1 kB / 483.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1373, allocations: 12.03 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.1374, allocations: 8.844 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1375, allocations: 196.8 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1376, allocations: 4.375 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1376, allocations: 8.375 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1377, allocations: 57.78 kB / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1378, allocations: 0 / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1378, allocations: 4 kB / 483.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1378, allocations: 4 kB / 483.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.1379, allocations: 23.92 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1383, allocations: 304.7 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1384, allocations: 46.55 kB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.1384, allocations: 12.86 kB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1385, allocations: 3.938 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1385, allocations: 34.56 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1385, allocations: 8 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008442/0.1394, allocations: 221.1 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1394, allocations: 51.41 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1396, allocations: 218.3 kB / 484.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1397, allocations: 29.7 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.1397, allocations: 112.1 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1398, allocations: 31.47 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1398, allocations: 25.72 kB / 484.6 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1399, allocations: 322.8 kB / 484.9 MB, free: 108 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.14, allocations: 19.98 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.1401, allocations: 32 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1403, allocations: 68.81 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1403, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.1405, allocations: 93.52 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1405, allocations: 8 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1405, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1405, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.1406, allocations: 15.98 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1406, allocations: 8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1407, allocations: 7.938 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1407, allocations: 4 kB / 485.2 MB, free: 15.84 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 (8): * Single equations (assignments): 8 * 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.0001008/0.1408, allocations: 129.8 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1409, allocations: 11.81 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.1411, allocations: 123.3 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1411, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1411, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1412, allocations: 3.938 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.1416, allocations: 403.4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1417, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.1417, allocations: 19.98 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.1418, allocations: 11.97 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1418, allocations: 3.938 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1418, allocations: 3.984 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1418, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.142, allocations: 200.2 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1421, allocations: 92.94 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1421, allocations: 4 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1422, allocations: 8 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1422, allocations: 7.984 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1423, allocations: 4 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1424, allocations: 168.2 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1426, allocations: 16 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001053/0.1437, allocations: 457.5 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1439, allocations: 59.95 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1439, allocations: 0 / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.144, allocations: 43.92 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1444, allocations: 19.92 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.1449, allocations: 262.9 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1452, allocations: 0.7079 MB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.1453, allocations: 20.89 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1453, allocations: 15.44 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1453, allocations: 4 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003744/0.1491, allocations: 1.352 MB / 489.3 MB, free: 11.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches