Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 75.75 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 62.44 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003181/0.1052, allocations: 1.72 MB / 481.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1063, allocations: 0.5768 MB / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.1064, allocations: 3.938 kB / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.107, allocations: 447.2 kB / 482.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.1075, allocations: 287.4 kB / 483 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1079, allocations: 163.6 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1082, allocations: 171.6 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1083, allocations: 19.98 kB / 483.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1084, allocations: 107.7 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1087, allocations: 207.6 kB / 483.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1087, allocations: 4 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1088, allocations: 35.97 kB / 483.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1089, allocations: 83.69 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.109, allocations: 99 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1093, allocations: 195.8 kB / 484 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1093, allocations: 4 kB / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1093, allocations: 0 / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1093, allocations: 7.938 kB / 484 MB, free: 1.621 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.0007283/0.11, allocations: 0.6455 MB / 484.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1101, allocations: 8.875 kB / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.1102, allocations: 44.38 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1104, allocations: 304.1 kB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1105, allocations: 384 / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1105, allocations: 4.375 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1107, allocations: 61.8 kB / 485.1 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1107, allocations: 4 kB / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1107, allocations: 0 / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1107, allocations: 4 kB / 485.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1109, allocations: 39.91 kB / 485.1 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.1114, allocations: 400.7 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1116, allocations: 50.55 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.1117, allocations: 24.94 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1117, allocations: 4.016 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.1117, allocations: 34.56 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.1117, allocations: 3.984 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008982/0.1126, allocations: 319.7 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1127, allocations: 55.41 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.1135, allocations: 0.8614 MB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1135, allocations: 25.7 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1137, allocations: 216.1 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1137, allocations: 27.56 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1138, allocations: 25.7 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1139, allocations: 366.7 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1141, allocations: 35.95 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1142, allocations: 43.91 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.1144, allocations: 93.02 kB / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1144, allocations: 0 / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003311/0.1148, allocations: 161.1 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1148, allocations: 4 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1148, allocations: 0 / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1148, allocations: 4 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.115, allocations: 23.98 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.115, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.1151, allocations: 19.92 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1151, allocations: 0 / 487.9 MB, free: 13.52 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 (7): * Single equations (assignments): 7 * 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.0001953/0.1153, allocations: 217.8 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1153, allocations: 39.44 kB / 488.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.1157, allocations: 189.4 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1157, allocations: 0 / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1158, allocations: 0 / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1158, allocations: 3.938 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.1164, allocations: 0.5063 MB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1164, allocations: 0 / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.1165, allocations: 23.92 kB / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1165, allocations: 0 / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1166, allocations: 3.938 kB / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1166, allocations: 0 / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1166, allocations: 4 kB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1169, allocations: 250.9 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.117, allocations: 112.5 kB / 489.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.117, allocations: 3.938 kB / 489.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1171, allocations: 11.98 kB / 489.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1172, allocations: 7.984 kB / 489.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1172, allocations: 4 kB / 489.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.1178, allocations: 0.6511 MB / 489.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1178, allocations: 7.938 kB / 489.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1181, allocations: 23.98 kB / 489.9 MB, free: 11.38 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 (7): * Single equations (assignments): 7 * 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.0009386/0.119, allocations: 404.2 kB / 490.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1194, allocations: 87.88 kB / 490.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1194, allocations: 0 / 490.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1195, allocations: 60.03 kB / 490.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1199, allocations: 30.05 kB / 490.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1212, allocations: 0.9472 MB / 491.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1216, allocations: 0.8302 MB / 492.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1217, allocations: 11.44 kB / 492.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1217, allocations: 0 / 492.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Templates: time 0.007096/0.1288, allocations: 3.92 MB / 496.2 MB, free: 5.164 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches