Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001417, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, 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.213/0.213, allocations: 46.11 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 80.64 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 62.44 MB / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002981/0.1199, allocations: 1.584 MB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.1208, allocations: 0.5417 MB / 482.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.1209, allocations: 4 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1211, allocations: 23.8 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1214, allocations: 79.67 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1217, allocations: 115.1 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1218, allocations: 59.84 kB / 482.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.122, allocations: 19.97 kB / 482.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.122, allocations: 23.88 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.1221, allocations: 23.84 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1221, allocations: 4 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.1222, allocations: 35.98 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1222, allocations: 4 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.1223, allocations: 31.78 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1224, allocations: 75.73 kB / 482.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1224, allocations: 0 / 482.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1225, allocations: 0 / 482.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1225, allocations: 0 / 482.6 MB, free: 2.617 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.000437/0.1229, allocations: 395.4 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.123, allocations: 8.031 kB / 483 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.123, allocations: 12.84 kB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1232, allocations: 190.8 kB / 483.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1232, allocations: 384 / 483.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1232, allocations: 8.375 kB / 483.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1234, allocations: 49.81 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1234, allocations: 3.906 kB / 483.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1234, allocations: 4 kB / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1234, allocations: 3.938 kB / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.1235, allocations: 23.97 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.124, allocations: 276.9 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1242, allocations: 54.55 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1242, allocations: 16.8 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1243, allocations: 0 / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1243, allocations: 34.56 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1243, allocations: 0 / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005619/0.1249, allocations: 149.3 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1249, allocations: 59.41 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1251, allocations: 156.7 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1251, allocations: 25.7 kB / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.1252, allocations: 96.12 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1252, allocations: 15.81 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1252, allocations: 17.72 kB / 484.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1253, allocations: 322.8 kB / 484.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.1254, allocations: 23.98 kB / 484.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.1255, allocations: 19.98 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1256, allocations: 52.81 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1257, allocations: 0 / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001918/0.1259, allocations: 85.52 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1259, allocations: 8 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1259, allocations: 3.938 kB / 484.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1259, allocations: 4 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.126, allocations: 11.98 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.126, allocations: 256 / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.126, allocations: 7.984 kB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1261, allocations: 12 kB / 484.7 MB, free: 296 kB / 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.187e-05/0.1262, allocations: 117.8 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1262, allocations: 7.906 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1265, allocations: 109.8 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1265, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1265, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1265, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1269, allocations: 354.4 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1269, allocations: 0 / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.127, allocations: 19.92 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.127, allocations: 4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.127, allocations: 0 / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.127, allocations: 3.938 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.127, allocations: 288 / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1273, allocations: 179.4 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1273, allocations: 89.09 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1273, allocations: 4 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.1274, allocations: 11.92 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1275, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1275, allocations: 4 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.1276, allocations: 117.5 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1276, allocations: 0 / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1278, allocations: 12 kB / 485.8 MB, free: 15.17 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.0009021/0.1287, allocations: 416.9 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1289, allocations: 51.95 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.129, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.129, allocations: 23.98 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1294, allocations: 22.02 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1299, allocations: 190 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1301, allocations: 0.6963 MB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.627e-05/0.1302, allocations: 11.98 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1302, allocations: 15.42 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1302, allocations: 4 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Templates: time 0.003735/0.134, allocations: 1.12 MB / 488.3 MB, free: 12.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches