Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 117 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 76.11 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 62.44 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002916/0.1065, allocations: 1.594 MB / 483.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.108, allocations: 1.167 MB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.1081, allocations: 0 / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1083, allocations: 27.8 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1085, allocations: 87.61 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1088, allocations: 107.2 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1089, allocations: 71.77 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.109, allocations: 19.98 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.1091, allocations: 19.92 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1092, allocations: 35.84 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1092, allocations: 4 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1094, allocations: 95.88 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1095, allocations: 23.91 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1095, allocations: 19.88 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1097, allocations: 147.6 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1097, allocations: 0 / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1097, allocations: 0 / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1098, allocations: 0 / 484.9 MB, free: 1.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004115/0.1102, allocations: 397.8 kB / 485.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1102, allocations: 12.03 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.1102, allocations: 4.938 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1104, allocations: 192.1 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1104, allocations: 4.375 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1105, allocations: 12.25 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1106, allocations: 71.45 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1106, allocations: 0 / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.1106, allocations: 0 / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1107, allocations: 0 / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.1107, allocations: 27.98 kB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1111, allocations: 288.9 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1113, allocations: 50.47 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.1113, allocations: 16.86 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1114, allocations: 0 / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1114, allocations: 38.64 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1114, allocations: 4 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004896/0.1119, allocations: 153.2 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.112, allocations: 77.11 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1121, allocations: 144.2 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1121, allocations: 25.7 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1122, allocations: 100.1 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1122, allocations: 19.7 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1122, allocations: 17.72 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.1123, allocations: 322.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.1124, allocations: 19.98 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.1125, allocations: 33.7 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1126, allocations: 64.78 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1126, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000164/0.1128, allocations: 77.67 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1128, allocations: 4 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1128, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1128, allocations: 4 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.1129, allocations: 11.98 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1129, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.113, allocations: 11.98 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.113, allocations: 3.938 kB / 487 MB, free: 14.72 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 9.075e-05/0.1131, allocations: 121.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1131, allocations: 3.906 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.1133, allocations: 98.27 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1134, allocations: 3.938 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.1134, allocations: 0 / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1134, allocations: 8 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1138, allocations: 370.3 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1138, allocations: 0 / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1139, allocations: 11.98 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1139, allocations: 0 / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1139, allocations: 7.938 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1139, allocations: 3.938 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1139, allocations: 3.984 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1141, allocations: 187.4 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1142, allocations: 77.11 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1142, allocations: 0 / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.1143, allocations: 11.92 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.1143, allocations: 7.938 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1143, allocations: 0 / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.1144, allocations: 121.4 kB / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1144, allocations: 0 / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1147, allocations: 36 kB / 488.1 MB, free: 13.57 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.000958/0.1156, allocations: 486.7 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1159, allocations: 51.95 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1159, allocations: 0 / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.116, allocations: 32.05 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1163, allocations: 30.11 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.1166, allocations: 181.4 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1168, allocations: 0.6885 MB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.844e-05/0.1169, allocations: 19.97 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.117, allocations: 23.42 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.117, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003881/0.1208, allocations: 1.75 MB / 491.3 MB, free: 10.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches