Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 76.47 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003303/0.1058, allocations: 1.739 MB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.1068, allocations: 0.5533 MB / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.1069, allocations: 0 / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1071, allocations: 51.88 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1074, allocations: 79.72 kB / 482.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1078, allocations: 131.2 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1079, allocations: 79.77 kB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.108, allocations: 16.22 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.1081, allocations: 35.84 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.1082, allocations: 47.77 kB / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1082, allocations: 11.94 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1083, allocations: 47.97 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.1084, allocations: 19.92 kB / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1084, allocations: 31.73 kB / 482.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1086, allocations: 83.89 kB / 482.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1086, allocations: 4 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1086, allocations: 0 / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1086, allocations: 0 / 482.9 MB, free: 2.773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004948/0.1091, allocations: 415.3 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1092, allocations: 12.03 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1092, allocations: 12.75 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1094, allocations: 204 kB / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.1094, allocations: 384 / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1094, allocations: 4.375 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1096, allocations: 65.78 kB / 483.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1096, allocations: 4 kB / 483.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1096, allocations: 4 kB / 483.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1096, allocations: 0 / 483.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.1098, allocations: 43.91 kB / 483.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1102, allocations: 304.8 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1104, allocations: 58.58 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.1105, allocations: 28.97 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1105, allocations: 4 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1106, allocations: 34.56 kB / 484 MB, free: 1.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1106, allocations: 0 / 484 MB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001395/0.112, allocations: 401.1 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.112, allocations: 55.34 kB / 484.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1122, allocations: 198.1 kB / 484.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1122, allocations: 25.7 kB / 484.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.1123, allocations: 104 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1123, allocations: 39.45 kB / 484.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1124, allocations: 21.72 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1125, allocations: 322.8 kB / 485.2 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1126, allocations: 51.91 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1127, allocations: 39.97 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.113, allocations: 104.7 kB / 485.4 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.113, allocations: 0 / 485.4 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003253/0.1133, allocations: 141.5 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1134, allocations: 8 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1134, allocations: 3.984 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1134, allocations: 0 / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1135, allocations: 31.86 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1135, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.1136, allocations: 15.98 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1136, allocations: 4 kB / 485.6 MB, free: 15.84 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 (11): * Single equations (assignments): 11 * 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.155e-05/0.1137, allocations: 129.8 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.1138, allocations: 11.81 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.1142, allocations: 162.2 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1142, allocations: 7.938 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1142, allocations: 4 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1142, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.1148, allocations: 468.1 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1149, allocations: 7.922 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.115, allocations: 28.05 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.115, allocations: 4 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.115, allocations: 0 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.115, allocations: 0 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.115, allocations: 8.172 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.1154, allocations: 260.8 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1154, allocations: 85.02 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1154, allocations: 4 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.1155, allocations: 15.98 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1156, allocations: 7.984 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1156, allocations: 4 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1157, allocations: 155.2 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1157, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.116, allocations: 24 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001/0.117, allocations: 451.7 kB / 487.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1173, allocations: 111.8 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1173, allocations: 4 kB / 487.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1175, allocations: 51.91 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1179, allocations: 27.91 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.1185, allocations: 355.8 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1187, allocations: 0.7083 MB / 488.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.1188, allocations: 15.44 kB / 488.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1188, allocations: 0 / 488.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.003466/0.1223, allocations: 1.912 MB / 490.5 MB, free: 10.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches