Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007344/0.0007345, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008553/0.0008553, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 11.94 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 63.56 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002099/0.1228, allocations: 1.377 MB / 485.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1246, allocations: 1.163 MB / 486.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.1247, allocations: 0 / 486.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.125, allocations: 23.92 kB / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1253, allocations: 71.73 kB / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.1258, allocations: 162.6 kB / 486.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1259, allocations: 71.78 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1261, allocations: 19.98 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.1261, allocations: 31.84 kB / 486.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1263, allocations: 35.78 kB / 486.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1263, allocations: 0 / 486.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1265, allocations: 91.95 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.1266, allocations: 19.91 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.1267, allocations: 53.5 kB / 486.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1269, allocations: 103.8 kB / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1269, allocations: 0 / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.127, allocations: 0 / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.127, allocations: 0 / 486.9 MB, free: 0.9062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005438/0.1275, allocations: 399.5 kB / 487.3 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1276, allocations: 12.86 kB / 487.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1276, allocations: 8.844 kB / 487.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1278, allocations: 200.2 kB / 487.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1279, allocations: 4.312 kB / 487.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1279, allocations: 8.312 kB / 487.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1281, allocations: 83.52 kB / 487.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1281, allocations: 0 / 487.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1282, allocations: 4 kB / 487.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1282, allocations: 0 / 487.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1283, allocations: 51.95 kB / 487.7 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.1288, allocations: 312.7 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.129, allocations: 58.55 kB / 488.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.1291, allocations: 28.94 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1291, allocations: 4.062 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1291, allocations: 30.56 kB / 488.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1291, allocations: 0 / 488.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008945/0.13, allocations: 273.1 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1301, allocations: 77.11 kB / 488.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1303, allocations: 149.7 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1303, allocations: 33.64 kB / 488.6 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1304, allocations: 96.12 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1304, allocations: 27.64 kB / 488.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1304, allocations: 13.72 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1305, allocations: 314.8 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1307, allocations: 47.95 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1308, allocations: 65.62 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1311, allocations: 108.8 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1311, allocations: 0 / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003372/0.1315, allocations: 141.5 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1315, allocations: 6.188 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1315, allocations: 4 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1315, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1316, allocations: 27.91 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1317, allocations: 8 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.1317, allocations: 15.94 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1318, allocations: 3.984 kB / 489.5 MB, free: 14.1 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 (7): * Single equations (assignments): 7 * 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.049e-05/0.1319, allocations: 117.8 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1319, allocations: 7.906 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.1323, allocations: 158.6 kB / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1323, allocations: 3.938 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1323, allocations: 0 / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1323, allocations: 3.938 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.1329, allocations: 430.4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1329, allocations: 7.984 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.133, allocations: 23.98 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1331, allocations: 0 / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1331, allocations: 11.94 kB / 490.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1331, allocations: 0 / 490.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1331, allocations: 0 / 490.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.1335, allocations: 239.3 kB / 490.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1335, allocations: 89 kB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1335, allocations: 3.938 kB / 490.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1337, allocations: 23.98 kB / 490.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1337, allocations: 0 / 490.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1337, allocations: 4 kB / 490.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.511e-05/0.1338, allocations: 119.2 kB / 490.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1338, allocations: 0 / 490.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1341, allocations: 43.98 kB / 490.8 MB, free: 12.73 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 (7): * Single equations (assignments): 7 * 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.00118/0.1353, allocations: 493.8 kB / 491.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.1357, allocations: 111.8 kB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1357, allocations: 0 / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1359, allocations: 63.95 kB / 491.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1362, allocations: 12 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.1368, allocations: 270.8 kB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.137, allocations: 0.7061 MB / 492.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.1371, allocations: 15.44 kB / 492.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1371, allocations: 4 kB / 492.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004368/0.1415, allocations: 2.153 MB / 494.6 MB, free: 9.027 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches