Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 76.28 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003192/0.1252, allocations: 1.731 MB / 481.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.1262, allocations: 0.5533 MB / 482.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.1263, allocations: 4 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1266, allocations: 63.84 kB / 482.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1269, allocations: 91.7 kB / 482.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1272, allocations: 111.8 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1274, allocations: 91.73 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1275, allocations: 16.23 kB / 482.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.1276, allocations: 35.84 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1277, allocations: 51.81 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1278, allocations: 4 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1279, allocations: 47.92 kB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.128, allocations: 23.91 kB / 482.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.128, allocations: 43.67 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1282, allocations: 87.88 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1282, allocations: 0 / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1282, allocations: 0 / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1282, allocations: 0 / 482.9 MB, free: 2.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005613/0.1288, allocations: 423.2 kB / 483.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1288, allocations: 8.031 kB / 483.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1289, allocations: 12.83 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1291, allocations: 202.6 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1291, allocations: 8.375 kB / 483.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1292, allocations: 4.281 kB / 483.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1293, allocations: 69.8 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1294, allocations: 3.984 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1294, allocations: 0 / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1294, allocations: 0 / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1295, allocations: 35.97 kB / 483.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1299, allocations: 324.7 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1302, allocations: 54.55 kB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.1302, allocations: 25.06 kB / 484 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1303, allocations: 7.875 kB / 484 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1303, allocations: 34.56 kB / 484.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1303, allocations: 0 / 484.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001386/0.1317, allocations: 388.8 kB / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1317, allocations: 55.34 kB / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1319, allocations: 214.8 kB / 484.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.132, allocations: 29.7 kB / 484.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.132, allocations: 104 kB / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.1321, allocations: 35.45 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.1321, allocations: 29.7 kB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1322, allocations: 322.8 kB / 485.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1324, allocations: 43.97 kB / 485.3 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1325, allocations: 44.08 kB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1328, allocations: 112.8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1328, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002981/0.1331, allocations: 133.5 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1331, allocations: 12 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1331, allocations: 0 / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1331, allocations: 0 / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1332, allocations: 31.91 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1333, allocations: 3.938 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.1333, allocations: 12 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1333, allocations: 4.547 kB / 485.6 MB, free: 15.78 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 (11): * Single equations (assignments): 11 * 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.841e-05/0.1334, allocations: 133.8 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1335, allocations: 15.81 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.1339, allocations: 162.9 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1339, allocations: 7.938 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1339, allocations: 0 / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1339, allocations: 7.984 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.1346, allocations: 479.9 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1346, allocations: 0 / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1347, allocations: 31.91 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.1347, allocations: 4 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1347, allocations: 4.062 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1347, allocations: 4 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1347, allocations: 4 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.1351, allocations: 248.9 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.1351, allocations: 92.92 kB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1352, allocations: 8 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.1353, allocations: 8.078 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1353, allocations: 11.92 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1353, allocations: 8 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1355, allocations: 164.7 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1355, allocations: 0 / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1357, allocations: 24 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001034/0.1368, allocations: 460.8 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1371, allocations: 115.8 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1371, allocations: 0 / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1373, allocations: 59.91 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1376, allocations: 19.92 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.1382, allocations: 363.8 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1385, allocations: 0.716 MB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1386, allocations: 15.44 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1386, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003698/0.1423, allocations: 1.962 MB / 490.7 MB, free: 10.67 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches