Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001074, allocations: 114.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.001277/0.001277, allocations: 200.6 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.314/1.314, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003184/0.1171, allocations: 1.681 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.1181, allocations: 0.5493 MB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.1182, allocations: 4 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1185, allocations: 67.7 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1188, allocations: 115.6 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1192, allocations: 134.9 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1194, allocations: 83.75 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1195, allocations: 24.22 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.1196, allocations: 43.83 kB / 484.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1197, allocations: 55.77 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1197, allocations: 4 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1198, allocations: 47.97 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.1199, allocations: 23.92 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.12, allocations: 39.73 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1202, allocations: 111.6 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1202, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1202, allocations: 4 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1202, allocations: 0 / 484.4 MB, free: 1.523 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.000554/0.1208, allocations: 430.8 kB / 484.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1209, allocations: 8.031 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1209, allocations: 12.83 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1212, allocations: 192.8 kB / 485.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1212, allocations: 8.375 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1212, allocations: 8.266 kB / 485.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1214, allocations: 73.73 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1214, allocations: 0 / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1214, allocations: 0 / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1214, allocations: 4 kB / 485.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1216, allocations: 39.91 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1219, allocations: 300.9 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1222, allocations: 62.48 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1223, allocations: 28.97 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1223, allocations: 3.984 kB / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1223, allocations: 34.56 kB / 485.6 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1223, allocations: 0 / 485.6 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001337/0.1237, allocations: 404.7 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1237, allocations: 55.34 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1239, allocations: 214.3 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1239, allocations: 25.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.124, allocations: 112 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.124, allocations: 39.45 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1241, allocations: 25.72 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1242, allocations: 322.8 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1243, allocations: 39.97 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1245, allocations: 47.91 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1247, allocations: 109.1 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1247, allocations: 0 / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002953/0.125, allocations: 137.5 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.125, allocations: 8 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.125, allocations: 0 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.125, allocations: 0 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1252, allocations: 35.91 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1252, allocations: 3.984 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1252, allocations: 15.92 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1253, allocations: 4 kB / 487.2 MB, free: 14.55 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 0.0001012/0.1254, allocations: 125.8 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1254, allocations: 19.81 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1258, allocations: 166.9 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1258, allocations: 4.5 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1258, allocations: 0 / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1258, allocations: 4 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.1264, allocations: 483.9 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1264, allocations: 4 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.1265, allocations: 23.98 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1265, allocations: 4 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1266, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1266, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1266, allocations: 4 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.1269, allocations: 261 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.127, allocations: 92.91 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.127, allocations: 7.984 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.1271, allocations: 8 kB / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1271, allocations: 11.98 kB / 488.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.1271, allocations: 4.094 kB / 488.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1273, allocations: 168.2 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1276, allocations: 27.98 kB / 488.6 MB, free: 13.04 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.001032/0.1286, allocations: 451 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.1289, allocations: 107.9 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.129, allocations: 0 / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1291, allocations: 71.95 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1295, allocations: 21.48 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.13, allocations: 296.8 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1303, allocations: 0.7158 MB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.1304, allocations: 12.55 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.1304, allocations: 23.42 kB / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1304, allocations: 0 / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004085/0.1345, allocations: 1.551 MB / 491.8 MB, free: 9.918 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches