Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001838/0.001838, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.11 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 76.5 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1178, allocations: 62.44 MB / 480.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003372/0.1212, allocations: 1.712 MB / 481.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.1222, allocations: 0.5494 MB / 482.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.1223, allocations: 0 / 482.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.1229, allocations: 451.2 kB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1234, allocations: 283.4 kB / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1238, allocations: 115.2 kB / 483.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.124, allocations: 167.7 kB / 483.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1241, allocations: 15.98 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1243, allocations: 111.7 kB / 483.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.1245, allocations: 215.6 kB / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1245, allocations: 0 / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1246, allocations: 47.91 kB / 483.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1248, allocations: 83.69 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.1249, allocations: 103 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1251, allocations: 195.8 kB / 484.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1251, allocations: 0 / 484.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1251, allocations: 3.938 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1252, allocations: 0 / 484.2 MB, free: 1.539 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.000782/0.126, allocations: 0.6338 MB / 484.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.126, allocations: 8.031 kB / 484.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.1261, allocations: 40.47 kB / 484.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1264, allocations: 304.1 kB / 485.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1264, allocations: 12.38 kB / 485.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1264, allocations: 384 / 485.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1266, allocations: 57.8 kB / 485.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1266, allocations: 0 / 485.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1266, allocations: 4 kB / 485.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1267, allocations: 0 / 485.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.1267, allocations: 19.98 kB / 485.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1273, allocations: 396.7 kB / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1275, allocations: 42.56 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1275, allocations: 16.86 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1276, allocations: 4.078 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1276, allocations: 34.5 kB / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1276, allocations: 0 / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006341/0.1283, allocations: 232 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1283, allocations: 55.34 kB / 486.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.1292, allocations: 0.8653 MB / 486.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1293, allocations: 25.7 kB / 487 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1294, allocations: 224 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1295, allocations: 19.7 kB / 487.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1295, allocations: 21.72 kB / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1297, allocations: 366.7 kB / 487.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.1298, allocations: 15.98 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.1299, allocations: 19.98 kB / 487.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.13, allocations: 48.78 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.13, allocations: 0 / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002162/0.1302, allocations: 125 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1302, allocations: 4 kB / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1303, allocations: 0 / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1303, allocations: 0 / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.1304, allocations: 15.98 kB / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1304, allocations: 0 / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.1304, allocations: 11.88 kB / 487.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1304, allocations: 0 / 487.8 MB, free: 13.73 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 (5): * Single equations (assignments): 5 * 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.0002044/0.1306, allocations: 217.8 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.1307, allocations: 39.53 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.131, allocations: 133 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.131, allocations: 0 / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.131, allocations: 4 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.131, allocations: 7.922 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.1316, allocations: 458.7 kB / 488.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1316, allocations: 4.062 kB / 488.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.1317, allocations: 15.92 kB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1317, allocations: 0 / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1317, allocations: 7.938 kB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1317, allocations: 0 / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1317, allocations: 3.938 kB / 488.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.132, allocations: 207.1 kB / 488.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.1321, allocations: 112.5 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1321, allocations: 3.938 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.1322, allocations: 8 kB / 489 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1322, allocations: 4 kB / 489 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1323, allocations: 3.984 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006618/0.1329, allocations: 0.655 MB / 489.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 0 / 489.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1332, allocations: 20 kB / 489.7 MB, free: 11.74 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 (5): * Single equations (assignments): 5 * 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.001459/0.1347, allocations: 401.4 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1349, allocations: 51.91 kB / 490.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1349, allocations: 0 / 490.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.135, allocations: 27.97 kB / 490.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.1354, allocations: 26.31 kB / 490.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1366, allocations: 0.9023 MB / 491.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1371, allocations: 0.8221 MB / 491.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1372, allocations: 11.44 kB / 491.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1372, allocations: 0 / 491.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of Templates: time 0.00718/0.1444, allocations: 3.72 MB / 495.6 MB, free: 5.859 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches