Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 117 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.001065/0.001065, 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.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 76.44 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 62.46 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003036/0.112, allocations: 1.665 MB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.1129, allocations: 0.5649 MB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.113, allocations: 0 / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.1135, allocations: 447.2 kB / 484.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.1139, allocations: 291.3 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.1143, allocations: 139 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1145, allocations: 171.6 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.1146, allocations: 15.98 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1147, allocations: 123.7 kB / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1149, allocations: 207.6 kB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.115, allocations: 4 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1151, allocations: 47.98 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1152, allocations: 87.61 kB / 485.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1153, allocations: 107 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1155, allocations: 270.9 kB / 485.6 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1156, allocations: 11.98 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1156, allocations: 0 / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1156, allocations: 0 / 485.6 MB, free: 384 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006593/0.1162, allocations: 0.6375 MB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1163, allocations: 8.031 kB / 486.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1164, allocations: 44.38 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1166, allocations: 304.2 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1166, allocations: 384 / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1167, allocations: 4.375 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1168, allocations: 69.75 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1168, allocations: 3.906 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1168, allocations: 4 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1168, allocations: 3.984 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.1169, allocations: 31.86 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1174, allocations: 400.6 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1175, allocations: 54.58 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.1176, allocations: 16.94 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1176, allocations: 0 / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1176, allocations: 34.56 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1176, allocations: 0 / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008508/0.1185, allocations: 307.9 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1185, allocations: 55.34 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.1193, allocations: 0.8653 MB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1193, allocations: 25.7 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1195, allocations: 228 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1195, allocations: 27.64 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1195, allocations: 21.72 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1197, allocations: 362.8 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.1198, allocations: 23.98 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.1198, allocations: 23.98 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.12, allocations: 64.77 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.12, allocations: 0 / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002105/0.1202, allocations: 141.1 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1202, allocations: 4 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1202, allocations: 4 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1203, allocations: 0 / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.1204, allocations: 15.98 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1204, allocations: 3.938 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.1204, allocations: 4 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1205, allocations: 11.94 kB / 489.3 MB, free: 12.38 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.0001725/0.1206, allocations: 217.8 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1207, allocations: 43.44 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.121, allocations: 149.8 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.121, allocations: 4 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.121, allocations: 3.938 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.121, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1216, allocations: 0.5109 MB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1216, allocations: 3.938 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.1217, allocations: 23.86 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1217, allocations: 4 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1217, allocations: 4 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1217, allocations: 0 / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1217, allocations: 0 / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.122, allocations: 239.9 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.1221, allocations: 116.5 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1221, allocations: 0 / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.1222, allocations: 15.98 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1223, allocations: 7.938 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1223, allocations: 0 / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005573/0.1229, allocations: 0.6628 MB / 491.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1229, allocations: 0 / 491.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1231, allocations: 20 kB / 491.3 MB, free: 10.26 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.0009729/0.1241, allocations: 453.6 kB / 491.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1243, allocations: 71.83 kB / 491.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1243, allocations: 0 / 491.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.1244, allocations: 35.98 kB / 491.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1248, allocations: 37.73 kB / 491.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1259, allocations: 0.8158 MB / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1263, allocations: 0.826 MB / 493.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.1263, allocations: 12.73 kB / 493.6 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1264, allocations: 15.44 kB / 493.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1264, allocations: 4 kB / 493.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of Templates: time 0.005038/0.1314, allocations: 1.717 MB / 495.3 MB, free: 6.398 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches