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.001154/0.001154, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001109, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 70.77 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002928/0.1134, allocations: 1.619 MB / 483.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.1143, allocations: 0.5572 MB / 483.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.1144, allocations: 0 / 483.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.115, allocations: 455.1 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.1154, allocations: 291.3 kB / 484.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1158, allocations: 171.5 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.116, allocations: 179.6 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.1161, allocations: 11.98 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1162, allocations: 111.7 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1164, allocations: 219.5 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1164, allocations: 4 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.1165, allocations: 23.98 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.1166, allocations: 83.69 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.1167, allocations: 103 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1169, allocations: 251 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1169, allocations: 0 / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1169, allocations: 0 / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1169, allocations: 0 / 485.5 MB, free: 488 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.0006403/0.1176, allocations: 0.653 MB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1176, allocations: 8.031 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.1177, allocations: 44.38 kB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.118, allocations: 300.1 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-06/0.118, allocations: 384 / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.118, allocations: 4.359 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1182, allocations: 61.8 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1182, allocations: 0 / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1182, allocations: 0 / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1182, allocations: 4 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1183, allocations: 39.89 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1188, allocations: 388.8 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1189, allocations: 46.55 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.119, allocations: 28.94 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.119, allocations: 0 / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.119, allocations: 30.56 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.1191, allocations: 0 / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003283/0.1194, allocations: 133 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1194, allocations: 51.41 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.1202, allocations: 0.8653 MB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1202, allocations: 29.7 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1203, allocations: 208.1 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1204, allocations: 15.83 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1204, allocations: 13.72 kB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1205, allocations: 362.7 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.1206, allocations: 23.97 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.1207, allocations: 19.98 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1208, allocations: 48.7 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1208, allocations: 0 / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.121, allocations: 113.1 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.121, allocations: 8 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.121, allocations: 0 / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.121, allocations: 3.938 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.1211, allocations: 15.98 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1211, allocations: 0 / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1212, allocations: 0 / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1212, allocations: 4 kB / 489 MB, free: 12.76 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.0001615/0.1214, allocations: 217.7 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.1214, allocations: 39.44 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.1217, allocations: 132.9 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1217, allocations: 4.375 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1217, allocations: 4 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1217, allocations: 0 / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1219, allocations: 289.5 kB / 489.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.1219, allocations: 7.969 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.122, allocations: 8 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.122, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.122, allocations: 4 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.122, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.122, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1223, allocations: 218.8 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.1224, allocations: 108.6 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1224, allocations: 0 / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.1225, allocations: 4 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.1225, allocations: 0 / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1225, allocations: 7.984 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005535/0.1231, allocations: 0.655 MB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1231, allocations: 0 / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1233, allocations: 20 kB / 490.7 MB, free: 10.96 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.0007566/0.1241, allocations: 351.2 kB / 491 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.1243, allocations: 43.91 kB / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1243, allocations: 0 / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.1243, allocations: 27.91 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1247, allocations: 36.34 kB / 491.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.1256, allocations: 0.7911 MB / 491.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.126, allocations: 0.826 MB / 492.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.334e-05/0.1261, allocations: 11.98 kB / 492.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.1261, allocations: 11.44 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1261, allocations: 0 / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of Templates: time 0.004207/0.1303, allocations: 1.293 MB / 494.1 MB, free: 7.652 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 -s gbode -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