Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007603/0.0007603, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009546/0.0009547, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002413, allocations: 11.98 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1005, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001981/0.1026, allocations: 1.366 MB / 485.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.1036, allocations: 0.5652 MB / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.1036, allocations: 0 / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.1042, allocations: 455.2 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1046, allocations: 275.4 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.105, allocations: 163 kB / 486.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1053, allocations: 167.6 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.1054, allocations: 23.97 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1055, allocations: 99.8 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1057, allocations: 199.6 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1058, allocations: 0 / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.1058, allocations: 35.97 kB / 487.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.106, allocations: 79.64 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.106, allocations: 132.7 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1063, allocations: 187.7 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.1063, allocations: 4 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1063, allocations: 0 / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1063, allocations: 0 / 487.4 MB, free: 392 kB / 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.0006357/0.1069, allocations: 0.5875 MB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.107, allocations: 12.88 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.107, allocations: 44.38 kB / 488.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1073, allocations: 300.1 kB / 488.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1073, allocations: 8.375 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1074, allocations: 4.375 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1075, allocations: 57.8 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1075, allocations: 4 kB / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1075, allocations: 0 / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1076, allocations: 7.938 kB / 488.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1077, allocations: 31.92 kB / 488.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1082, allocations: 396.6 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1084, allocations: 58.42 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.1084, allocations: 24.84 kB / 489 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1085, allocations: 4 kB / 489 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1085, allocations: 34.64 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1085, allocations: 0 / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006267/0.1091, allocations: 251.9 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1092, allocations: 59.39 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/0.11, allocations: 0.866 MB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.11, allocations: 25.7 kB / 490.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1102, allocations: 224 kB / 490.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1102, allocations: 11.81 kB / 490.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1102, allocations: 17.72 kB / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1104, allocations: 366.7 kB / 490.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1105, allocations: 23.98 kB / 490.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.1105, allocations: 27.98 kB / 490.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1107, allocations: 64.81 kB / 490.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1107, allocations: 0 / 490.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002341/0.1109, allocations: 133 kB / 491 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.111, allocations: 6.5 kB / 491.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.111, allocations: 4 kB / 491.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.111, allocations: 0 / 491.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.1111, allocations: 15.98 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1111, allocations: 0 / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1111, allocations: 19.86 kB / 491.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1112, allocations: 0 / 491.1 MB, free: 12.51 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 (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.0001792/0.1113, allocations: 209.8 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.1114, allocations: 43.53 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1117, allocations: 149.2 kB / 491.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1117, allocations: 4.297 kB / 491.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1117, allocations: 4 kB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1117, allocations: 3.938 kB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.1123, allocations: 486.4 kB / 492 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1123, allocations: 0 / 492 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.1124, allocations: 15.94 kB / 492 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1124, allocations: 0 / 492 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1124, allocations: 11.88 kB / 492 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1124, allocations: 3.984 kB / 492 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1124, allocations: 4 kB / 492 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1127, allocations: 211.1 kB / 492.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.1128, allocations: 124.5 kB / 492.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1128, allocations: 7.938 kB / 492.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.1129, allocations: 4 kB / 492.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1129, allocations: 7.984 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1129, allocations: 0 / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006269/0.1136, allocations: 0.6589 MB / 493 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1136, allocations: 0 / 493 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1138, allocations: 24 kB / 493 MB, free: 10.46 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.0009739/0.1148, allocations: 398.3 kB / 493.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.115, allocations: 55.97 kB / 493.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.115, allocations: 0 / 493.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1151, allocations: 39.97 kB / 493.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1155, allocations: 22.31 kB / 493.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1166, allocations: 0.9289 MB / 494.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1169, allocations: 0.8262 MB / 495.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.117, allocations: 19.44 kB / 495.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.117, allocations: 0 / 495.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006682/0.1237, allocations: 3.695 MB / 499 MB, free: 4.547 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches