Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 109.1 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.001325/0.001325, 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.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 75.88 kB / 417.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 62.44 MB / 479.9 MB, free: 9.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003208/0.1168, allocations: 1.712 MB / 481.6 MB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.1178, allocations: 0.5533 MB / 482.2 MB, free: 6.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1179, allocations: 0 / 482.2 MB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.1184, allocations: 451.2 kB / 482.6 MB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1188, allocations: 275.5 kB / 482.9 MB, free: 6.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1192, allocations: 119.3 kB / 483 MB, free: 5.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1194, allocations: 163.6 kB / 483.2 MB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.1195, allocations: 19.98 kB / 483.2 MB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1197, allocations: 107.7 kB / 483.3 MB, free: 5.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.12, allocations: 203.6 kB / 483.5 MB, free: 5.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.12, allocations: 0 / 483.5 MB, free: 5.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.1201, allocations: 31.98 kB / 483.5 MB, free: 5.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1202, allocations: 91.62 kB / 483.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.1203, allocations: 99 kB / 483.7 MB, free: 5.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1205, allocations: 187.8 kB / 483.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1206, allocations: 0 / 483.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1206, allocations: 0 / 483.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1206, allocations: 0 / 483.9 MB, free: 5.051 MB / 398.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.0006909/0.1213, allocations: 0.6378 MB / 484.5 MB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1213, allocations: 8.875 kB / 484.6 MB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.1214, allocations: 44.38 kB / 484.6 MB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1217, allocations: 300.1 kB / 484.9 MB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.1217, allocations: 8.375 kB / 484.9 MB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1217, allocations: 4.375 kB / 484.9 MB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1218, allocations: 53.8 kB / 485 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1219, allocations: 0 / 485 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1219, allocations: 8 kB / 485 MB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1219, allocations: 0 / 485 MB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.122, allocations: 19.98 kB / 485 MB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1225, allocations: 396.6 kB / 485.4 MB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1227, allocations: 38.56 kB / 485.4 MB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.1227, allocations: 16.86 kB / 485.4 MB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1228, allocations: 4.016 kB / 485.4 MB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1228, allocations: 34.64 kB / 485.5 MB, free: 3.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1228, allocations: 4 kB / 485.5 MB, free: 3.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006528/0.1235, allocations: 231.9 kB / 485.7 MB, free: 3.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1235, allocations: 51.41 kB / 485.7 MB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.1243, allocations: 0.8653 MB / 486.6 MB, free: 2.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1244, allocations: 29.7 kB / 486.6 MB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1245, allocations: 220.1 kB / 486.9 MB, free: 1.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1246, allocations: 19.8 kB / 486.9 MB, free: 1.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1246, allocations: 13.72 kB / 486.9 MB, free: 1.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1248, allocations: 370.7 kB / 487.2 MB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.1249, allocations: 19.92 kB / 487.3 MB, free: 1.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.1249, allocations: 19.98 kB / 487.3 MB, free: 1.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1251, allocations: 44.83 kB / 487.3 MB, free: 1.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1251, allocations: 4 kB / 487.3 MB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002203/0.1253, allocations: 121.1 kB / 487.5 MB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1253, allocations: 4 kB / 487.5 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1253, allocations: 0 / 487.5 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1253, allocations: 0 / 487.5 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.1254, allocations: 15.94 kB / 487.5 MB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1254, allocations: 0 / 487.5 MB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1255, allocations: 16.14 kB / 487.5 MB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1255, allocations: 4 kB / 487.5 MB, free: 1.238 MB / 398.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 0.0001737/0.1257, allocations: 209.8 kB / 487.7 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1258, allocations: 47.42 kB / 487.7 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.126, allocations: 129.1 kB / 487.9 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.126, allocations: 0 / 487.9 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1261, allocations: 4 kB / 487.9 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1261, allocations: 3.938 kB / 487.9 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1266, allocations: 466.7 kB / 488.3 MB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1266, allocations: 4.062 kB / 488.3 MB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.1267, allocations: 8 kB / 488.3 MB, free: 320 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1267, allocations: 0 / 488.3 MB, free: 320 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1267, allocations: 11.92 kB / 488.4 MB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1267, allocations: 0 / 488.4 MB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1267, allocations: 3.938 kB / 488.4 MB, free: 304 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.127, allocations: 214.9 kB / 488.6 MB, free: 72 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.1271, allocations: 108.5 kB / 488.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.1271, allocations: 7.922 kB / 488.7 MB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.1272, allocations: 4 kB / 488.7 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1272, allocations: 8 kB / 488.7 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1273, allocations: 0 / 488.7 MB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.1279, allocations: 0.6589 MB / 489.4 MB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1279, allocations: 0 / 489.4 MB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1282, allocations: 20 kB / 489.4 MB, free: 15.25 MB / 414.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.000914/0.1291, allocations: 389.5 kB / 489.8 MB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1293, allocations: 47.91 kB / 489.8 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1293, allocations: 3.938 kB / 489.8 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.1294, allocations: 27.98 kB / 489.8 MB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1298, allocations: 28.8 kB / 489.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.131, allocations: 0.9117 MB / 490.8 MB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1314, allocations: 0.8224 MB / 491.6 MB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1314, allocations: 11.44 kB / 491.6 MB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 4 kB / 491.6 MB, free: 13.08 MB / 414.1 MB Notification: Performance of Templates: time 0.006837/0.1383, allocations: 3.713 MB / 495.3 MB, free: 9.359 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches