Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1074, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002845/0.1103, allocations: 1.615 MB / 483.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1112, allocations: 0.5416 MB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.1113, allocations: 0 / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1116, allocations: 127.6 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1119, allocations: 119.5 kB / 483.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1122, allocations: 122.9 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1124, allocations: 99.78 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1125, allocations: 19.98 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1125, allocations: 47.83 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1127, allocations: 83.78 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1127, allocations: 4 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.1128, allocations: 43.97 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1128, allocations: 31.86 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.1129, allocations: 35.69 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1131, allocations: 119.6 kB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1131, allocations: 3.938 kB / 484.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1131, allocations: 0 / 484.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1131, allocations: 0 / 484.5 MB, free: 1.527 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.0005237/0.1136, allocations: 442.7 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1137, allocations: 8.031 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1137, allocations: 16.75 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1139, allocations: 208 kB / 485.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.114, allocations: 4.375 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.114, allocations: 4.359 kB / 485.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1141, allocations: 57.81 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1142, allocations: 0 / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1142, allocations: 7.938 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1142, allocations: 0 / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.1143, allocations: 27.97 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1147, allocations: 316.6 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1148, allocations: 50.48 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1149, allocations: 20.86 kB / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1149, allocations: 4 kB / 485.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1149, allocations: 30.66 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.115, allocations: 0 / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.1158, allocations: 253 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1159, allocations: 51.41 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1161, allocations: 279.7 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1162, allocations: 25.7 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1162, allocations: 116.1 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1163, allocations: 31.52 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1163, allocations: 17.72 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1164, allocations: 330.8 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.1165, allocations: 35.97 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.1166, allocations: 27.92 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1168, allocations: 80.69 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1168, allocations: 0 / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002114/0.117, allocations: 109.6 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.117, allocations: 12 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.117, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.117, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.1172, allocations: 15.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1172, allocations: 4 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1172, allocations: 7.922 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1172, allocations: 4 kB / 487 MB, free: 14.75 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.0001146/0.1174, allocations: 137.8 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1174, allocations: 19.81 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1177, allocations: 143.3 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1177, allocations: 0 / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1177, allocations: 0 / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1177, allocations: 3.938 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1182, allocations: 435.3 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1182, allocations: 4.031 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.1183, allocations: 19.92 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1183, allocations: 8.359 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1183, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.1184, allocations: 3.984 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1184, allocations: 0 / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1186, allocations: 220.2 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1187, allocations: 96.84 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1187, allocations: 4 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.1188, allocations: 7.984 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1188, allocations: 7.938 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1188, allocations: 0 / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.1191, allocations: 213.5 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1191, allocations: 0 / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1193, allocations: 20 kB / 488.3 MB, free: 13.33 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.001016/0.1204, allocations: 461.4 kB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1206, allocations: 79.94 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1206, allocations: 3.938 kB / 488.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.1207, allocations: 35.98 kB / 488.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.121, allocations: 19.55 kB / 488.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.1216, allocations: 316.2 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1219, allocations: 0.7236 MB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.122, allocations: 20.95 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.122, allocations: 19.42 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.122, allocations: 0 / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.003786/0.1258, allocations: 1.412 MB / 491.4 MB, free: 10.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches