Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009382/0.0009381, allocations: 96.09 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 204.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.4 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002985, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1047, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001994/0.1067, allocations: 1.33 MB / 485.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1078, allocations: 0.5418 MB / 485.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.1079, allocations: 0 / 485.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.1082, allocations: 67.84 kB / 485.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1085, allocations: 79.8 kB / 485.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1088, allocations: 103.4 kB / 485.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.109, allocations: 75.81 kB / 485.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1091, allocations: 15.98 kB / 485.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.1092, allocations: 39.78 kB / 486 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1093, allocations: 43.84 kB / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1094, allocations: 0 / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1095, allocations: 47.97 kB / 486.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.1095, allocations: 11.92 kB / 486.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.1096, allocations: 61.45 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1098, allocations: 79.81 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1098, allocations: 0 / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1098, allocations: 0 / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1098, allocations: 0 / 486.2 MB, free: 1.648 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005102/0.1103, allocations: 395.4 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1104, allocations: 8.875 kB / 486.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.1104, allocations: 12.75 kB / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1106, allocations: 204 kB / 486.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1106, allocations: 8.375 kB / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1107, allocations: 384 / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1108, allocations: 61.8 kB / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1109, allocations: 0 / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1109, allocations: 0 / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1109, allocations: 4 kB / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.111, allocations: 31.97 kB / 486.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1115, allocations: 308.8 kB / 487.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1116, allocations: 42.56 kB / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1117, allocations: 20.94 kB / 487.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1117, allocations: 4 kB / 487.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1117, allocations: 30.56 kB / 487.3 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.006e-06/0.1117, allocations: 4 kB / 487.3 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.1127, allocations: 281.1 kB / 487.6 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1128, allocations: 55.41 kB / 487.7 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1131, allocations: 205.9 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1131, allocations: 25.7 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1132, allocations: 104.1 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1132, allocations: 23.56 kB / 488 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1132, allocations: 21.7 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1134, allocations: 322.8 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.1135, allocations: 35.98 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.1136, allocations: 35.97 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1138, allocations: 81.05 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1138, allocations: 4 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.114, allocations: 121.5 kB / 488.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.114, allocations: 7.938 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1141, allocations: 3.984 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1141, allocations: 0 / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1142, allocations: 20 kB / 488.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1142, allocations: 4 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.1143, allocations: 15.92 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1143, allocations: 4 kB / 488.7 MB, free: 14.96 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 9.762e-05/0.1144, allocations: 125.8 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1144, allocations: 15.75 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.1147, allocations: 147 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1147, allocations: 0 / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1147, allocations: 3.984 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1148, allocations: 3.938 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.1154, allocations: 427.3 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1154, allocations: 0 / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1155, allocations: 16 kB / 489.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1155, allocations: 7.922 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1155, allocations: 4 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1155, allocations: 0 / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1155, allocations: 0 / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1158, allocations: 224.2 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1159, allocations: 96.94 kB / 489.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1159, allocations: 0 / 489.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.116, allocations: 12 kB / 489.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.116, allocations: 3.984 kB / 489.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.116, allocations: 4 kB / 489.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1162, allocations: 153.8 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1162, allocations: 0 / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1164, allocations: 20 kB / 489.9 MB, free: 13.62 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.001093/0.1175, allocations: 457.2 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.1178, allocations: 83.89 kB / 490.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1178, allocations: 0 / 490.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1179, allocations: 47.91 kB / 490.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1183, allocations: 23.92 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.1189, allocations: 320.2 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1192, allocations: 0.7059 MB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.1192, allocations: 15.44 kB / 491.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1192, allocations: 0 / 491.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.003537/0.1228, allocations: 1.77 MB / 493.3 MB, free: 10.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches