Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001884, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 74.67 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003291/0.1132, allocations: 1.735 MB / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1143, allocations: 0.5572 MB / 482.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.1144, allocations: 4 kB / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.1149, allocations: 443.2 kB / 482.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1154, allocations: 279.4 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1157, allocations: 123.7 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.116, allocations: 171.6 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1161, allocations: 16 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1162, allocations: 107.7 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1165, allocations: 211.5 kB / 483.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1165, allocations: 4 kB / 483.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1166, allocations: 47.98 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1167, allocations: 79.69 kB / 483.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.888e-05/0.1168, allocations: 103 kB / 483.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1171, allocations: 203.7 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1171, allocations: 0 / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1171, allocations: 3.984 kB / 484 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1171, allocations: 0 / 484 MB, free: 1.652 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.0006996/0.1178, allocations: 0.6455 MB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1179, allocations: 8.031 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1179, allocations: 44.38 kB / 484.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1182, allocations: 296.2 kB / 485 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1183, allocations: 4.375 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1183, allocations: 384 / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1184, allocations: 61.75 kB / 485 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1185, allocations: 3.906 kB / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1185, allocations: 4 kB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1185, allocations: 4 kB / 485 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.1186, allocations: 31.97 kB / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.1191, allocations: 404.5 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1192, allocations: 42.56 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1193, allocations: 16.94 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1193, allocations: 11.98 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1193, allocations: 34.56 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1193, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009573/0.1203, allocations: 308.2 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1204, allocations: 55.34 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.1211, allocations: 0.8653 MB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1212, allocations: 25.7 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1213, allocations: 224 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1214, allocations: 27.64 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1214, allocations: 21.72 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1216, allocations: 358.8 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1217, allocations: 31.98 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1217, allocations: 24.05 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1219, allocations: 64.83 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1219, allocations: 0 / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002397/0.1222, allocations: 145 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1222, allocations: 4 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1222, allocations: 4 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1222, allocations: 0 / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1223, allocations: 23.92 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1223, allocations: 3.938 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.1224, allocations: 4 kB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1224, allocations: 4 kB / 487.7 MB, free: 13.66 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.0001792/0.1226, allocations: 213.8 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1227, allocations: 43.44 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.123, allocations: 161.4 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.123, allocations: 0 / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.123, allocations: 3.938 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.123, allocations: 0 / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.1236, allocations: 0.5031 MB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1236, allocations: 7.938 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.1237, allocations: 15.98 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1237, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1237, allocations: 8 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1237, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1237, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.124, allocations: 248.1 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.1241, allocations: 112.5 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1242, allocations: 4 kB / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1242, allocations: 11.92 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1243, allocations: 4 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1243, allocations: 4 kB / 489.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005849/0.1249, allocations: 0.6589 MB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1249, allocations: 4 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1252, allocations: 20 kB / 489.7 MB, free: 11.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.001021/0.1262, allocations: 451.8 kB / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1264, allocations: 75.81 kB / 490.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1264, allocations: 0 / 490.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.1265, allocations: 35.92 kB / 490.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1269, allocations: 30.23 kB / 490.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1281, allocations: 0.9326 MB / 491.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1285, allocations: 0.8224 MB / 492.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1286, allocations: 19.42 kB / 492.1 MB, free: 9.277 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1286, allocations: 3.938 kB / 492.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of Templates: time 0.007183/0.1358, allocations: 3.945 MB / 496.1 MB, free: 5.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches