Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008996/0.0008994, allocations: 90.98 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 201.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002451, allocations: 15.92 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09616, allocations: 63.57 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001883/0.09808, allocations: 1.339 MB / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.09908, allocations: 0.5535 MB / 485.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.09915, allocations: 4 kB / 485.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.09969, allocations: 443.2 kB / 486.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1001, allocations: 279.4 kB / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.1005, allocations: 158.9 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1008, allocations: 167.7 kB / 486.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.1009, allocations: 19.92 kB / 486.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.101, allocations: 107.8 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1012, allocations: 199.6 kB / 487 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1012, allocations: 0 / 487 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.1013, allocations: 23.98 kB / 487 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1014, allocations: 87.62 kB / 487.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.1015, allocations: 124.7 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1017, allocations: 175.8 kB / 487.4 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1017, allocations: 4 kB / 487.4 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1017, allocations: 0 / 487.4 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1017, allocations: 0 / 487.4 MB, free: 484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006393/0.1024, allocations: 0.5992 MB / 488 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1024, allocations: 8.875 kB / 488 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.1025, allocations: 44.38 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1027, allocations: 300.1 kB / 488.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1027, allocations: 4.375 kB / 488.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1027, allocations: 4.312 kB / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1029, allocations: 65.73 kB / 488.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1029, allocations: 0 / 488.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.103, allocations: 4 kB / 488.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.103, allocations: 0 / 488.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1031, allocations: 43.97 kB / 488.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.1036, allocations: 396.7 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1037, allocations: 58.48 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.1038, allocations: 28.94 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1038, allocations: 0 / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.1039, allocations: 34.56 kB / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1039, allocations: 0 / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003477/0.1042, allocations: 137.2 kB / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1043, allocations: 55.41 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.1051, allocations: 0.8614 MB / 490 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1051, allocations: 25.7 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1053, allocations: 216.1 kB / 490.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1053, allocations: 19.69 kB / 490.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.1053, allocations: 13.7 kB / 490.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1055, allocations: 358.7 kB / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.1055, allocations: 23.98 kB / 490.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1056, allocations: 27.98 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1058, allocations: 53.09 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1058, allocations: 0 / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002165/0.106, allocations: 121.2 kB / 490.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.106, allocations: 7.938 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.106, allocations: 3.984 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.106, allocations: 0 / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.1061, allocations: 15.94 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1061, allocations: 0 / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.1062, allocations: 11.89 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1062, allocations: 0 / 490.9 MB, free: 12.74 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 (3): * Single equations (assignments): 3 * 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.0001896/0.1064, allocations: 213.7 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1065, allocations: 39.53 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.1067, allocations: 133 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1068, allocations: 3.984 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1068, allocations: 4 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1068, allocations: 4 kB / 491.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.107, allocations: 293.5 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1071, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.1071, allocations: 11.98 kB / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1071, allocations: 3.938 kB / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1071, allocations: 7.938 kB / 491.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1072, allocations: 4 kB / 491.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1072, allocations: 0 / 491.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1074, allocations: 218.9 kB / 491.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.1075, allocations: 112.5 kB / 491.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1075, allocations: 3.984 kB / 491.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.1076, allocations: 4 kB / 491.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.1076, allocations: 8 kB / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1076, allocations: 0 / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005894/0.1082, allocations: 0.655 MB / 492.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1082, allocations: 4 kB / 492.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1085, allocations: 16 kB / 492.6 MB, free: 10.92 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 (3): * Single equations (assignments): 3 * 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.0007743/0.1093, allocations: 346.5 kB / 492.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1095, allocations: 55.84 kB / 493 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1095, allocations: 0 / 493 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.1096, allocations: 36.05 kB / 493 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1099, allocations: 18.31 kB / 493 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1111, allocations: 0.9171 MB / 494 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1115, allocations: 0.8224 MB / 494.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.1115, allocations: 11.44 kB / 494.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1115, allocations: 0 / 494.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of Templates: time 0.006076/0.1176, allocations: 3.492 MB / 498.3 MB, free: 5.277 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches