Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 114.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 212.5 kB / 19.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 73.02 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003019/0.1229, allocations: 1.651 MB / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1245, allocations: 1.202 MB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1246, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.1248, allocations: 27.8 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1251, allocations: 83.61 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1255, allocations: 178.4 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1256, allocations: 83.75 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1257, allocations: 19.98 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.1258, allocations: 27.92 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1259, allocations: 35.78 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1259, allocations: 8 kB / 484.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1261, allocations: 107.9 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.1262, allocations: 15.98 kB / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1262, allocations: 35.78 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1264, allocations: 143.6 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1265, allocations: 8 kB / 485.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1265, allocations: 0 / 485.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1265, allocations: 0 / 485.1 MB, free: 0.9141 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.000466/0.1269, allocations: 411.1 kB / 485.5 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.127, allocations: 12.03 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.127, allocations: 4.844 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1272, allocations: 202.9 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1272, allocations: 384 / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1273, allocations: 4.375 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1275, allocations: 91.44 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1275, allocations: 0 / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1275, allocations: 4 kB / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1275, allocations: 0 / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1276, allocations: 35.97 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1281, allocations: 312.7 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1282, allocations: 54.42 kB / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.1283, allocations: 28.94 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1283, allocations: 0 / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1284, allocations: 30.56 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1284, allocations: 8 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007452/0.1291, allocations: 233.2 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1292, allocations: 81.09 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1293, allocations: 149.8 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1294, allocations: 25.7 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.1294, allocations: 100 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1295, allocations: 23.66 kB / 486.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1295, allocations: 21.72 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1296, allocations: 318.8 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1297, allocations: 31.97 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1299, allocations: 65.67 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1301, allocations: 84.73 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1301, allocations: 0 / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000287/0.1304, allocations: 133.5 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1304, allocations: 7.938 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1304, allocations: 0 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1305, allocations: 0 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1306, allocations: 19.98 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1306, allocations: 0 / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.1307, allocations: 15.92 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1307, allocations: 0 / 487.5 MB, free: 14.21 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 8.69e-05/0.1308, allocations: 129.8 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1308, allocations: 7.906 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.1311, allocations: 134.3 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1311, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1312, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1312, allocations: 3.938 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.1317, allocations: 418.4 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1317, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.1318, allocations: 23.97 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1318, allocations: 0 / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1318, allocations: 7.938 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1318, allocations: 0 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1318, allocations: 480 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1321, allocations: 227.3 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1322, allocations: 85.02 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1322, allocations: 4.219 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1323, allocations: 15.98 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1324, allocations: 11.92 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1324, allocations: 4 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.547e-05/0.1324, allocations: 113.3 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1325, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1327, allocations: 43.98 kB / 488.7 MB, free: 12.91 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.0009745/0.1337, allocations: 490.7 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.134, allocations: 87.94 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.134, allocations: 0 / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.1341, allocations: 55.89 kB / 489.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1345, allocations: 22.36 kB / 489.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.135, allocations: 213.8 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1353, allocations: 0.7041 MB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.693e-05/0.1354, allocations: 24.89 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.1354, allocations: 19.42 kB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1354, allocations: 0 / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.1014/0.2368, allocations: 1.928 MB / 492.3 MB, free: 9.488 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches