Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 97.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.8 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2896/0.2896, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 8 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002077/0.138, allocations: 1.334 MB / 484.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.139, allocations: 0.5262 MB / 484.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.139, allocations: 0 / 484.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1393, allocations: 79.83 kB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1395, allocations: 79.78 kB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1398, allocations: 115.1 kB / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.14, allocations: 75.86 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.1401, allocations: 12 kB / 485.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.1402, allocations: 39.78 kB / 485.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1403, allocations: 43.83 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1403, allocations: 8 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.1404, allocations: 39.98 kB / 485.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.1405, allocations: 23.91 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.1405, allocations: 53.45 kB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1407, allocations: 103.7 kB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1407, allocations: 0 / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1407, allocations: 0 / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1407, allocations: 0 / 485.6 MB, free: 1.582 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.0004925/0.1412, allocations: 401.9 kB / 486 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1413, allocations: 16.88 kB / 486 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1413, allocations: 12.75 kB / 486 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1415, allocations: 202.7 kB / 486.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1415, allocations: 384 / 486.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1416, allocations: 8.375 kB / 486.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1417, allocations: 57.8 kB / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1417, allocations: 0 / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1418, allocations: 0 / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1418, allocations: 0 / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1419, allocations: 47.89 kB / 486.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1423, allocations: 300.7 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1425, allocations: 54.55 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1425, allocations: 20.86 kB / 486.7 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1426, allocations: 0 / 486.7 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1426, allocations: 42.52 kB / 486.7 MB, free: 288 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1426, allocations: 0 / 486.7 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009869/0.1436, allocations: 273.2 kB / 487 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1437, allocations: 51.41 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1439, allocations: 214.7 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1439, allocations: 25.7 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.144, allocations: 108.1 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.144, allocations: 27.64 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.144, allocations: 13.72 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1442, allocations: 330.8 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.1442, allocations: 27.98 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.1443, allocations: 35.97 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1445, allocations: 80.83 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1445, allocations: 3.938 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.1448, allocations: 121.7 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1448, allocations: 4 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1448, allocations: 80 / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1448, allocations: 4 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1449, allocations: 23.98 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1449, allocations: 7.984 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.145, allocations: 11.94 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.145, allocations: 0 / 488.1 MB, free: 14.88 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 9.383e-05/0.1451, allocations: 133.8 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1452, allocations: 11.91 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1455, allocations: 146.9 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1455, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1455, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1455, allocations: 3.938 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.146, allocations: 431.3 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.146, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.1461, allocations: 23.98 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1461, allocations: 3.938 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1461, allocations: 4.031 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1462, allocations: 7.938 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1462, allocations: 0 / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1464, allocations: 224.2 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1465, allocations: 88.95 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1465, allocations: 0 / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1466, allocations: 11.98 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1466, allocations: 4.422 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1467, allocations: 4 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1468, allocations: 172.7 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1468, allocations: 3.938 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1471, allocations: 19.98 kB / 489.4 MB, free: 13.5 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.001018/0.1481, allocations: 453.4 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1484, allocations: 79.95 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1484, allocations: 4 kB / 489.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.1485, allocations: 44.06 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1488, allocations: 24.02 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.1493, allocations: 306.2 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1497, allocations: 0.716 MB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.1498, allocations: 16.66 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1498, allocations: 19.42 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1498, allocations: 0 / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003746/0.1536, allocations: 1.307 MB / 492.3 MB, free: 10.65 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches