Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 83.55 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.118, allocations: 62.45 MB / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.00328/0.1214, allocations: 1.616 MB / 482.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1225, allocations: 0.5533 MB / 482.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1225, allocations: 0 / 482.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1229, allocations: 127.6 kB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.1233, allocations: 123.6 kB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1236, allocations: 119.6 kB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1238, allocations: 87.81 kB / 483.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.124, allocations: 23.97 kB / 483.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.124, allocations: 39.84 kB / 483.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1242, allocations: 91.78 kB / 483.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1242, allocations: 4 kB / 483.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1243, allocations: 43.97 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.1244, allocations: 31.86 kB / 483.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1245, allocations: 35.69 kB / 483.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1247, allocations: 111.6 kB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1247, allocations: 7.922 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1247, allocations: 0 / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1247, allocations: 4 kB / 483.8 MB, free: 2.207 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.0005614/0.1253, allocations: 443 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1253, allocations: 12.03 kB / 484.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.1254, allocations: 12.75 kB / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1256, allocations: 204 kB / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1256, allocations: 384 / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1257, allocations: 4.375 kB / 484.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1258, allocations: 61.78 kB / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1259, allocations: 0 / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1259, allocations: 3.938 kB / 484.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1259, allocations: 4 kB / 484.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.126, allocations: 27.98 kB / 484.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1265, allocations: 308.7 kB / 484.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1266, allocations: 54.48 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1267, allocations: 20.89 kB / 484.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1267, allocations: 7.984 kB / 484.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1267, allocations: 34.55 kB / 484.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1267, allocations: 0 / 484.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009796/0.1277, allocations: 244.9 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1278, allocations: 51.41 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1281, allocations: 279.7 kB / 485.5 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1281, allocations: 25.7 kB / 485.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.1282, allocations: 120.1 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1282, allocations: 27.67 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1283, allocations: 21.72 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1285, allocations: 330.8 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.1286, allocations: 35.97 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.1286, allocations: 35.98 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1288, allocations: 72.77 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1288, allocations: 4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002364/0.1291, allocations: 105.8 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1291, allocations: 6.5 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1291, allocations: 4 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1291, allocations: 3.984 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1292, allocations: 20 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1293, allocations: 4.062 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1293, allocations: 11.92 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1293, allocations: 4 kB / 486.3 MB, free: 15.43 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 (8): * Single equations (assignments): 8 * 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.0001198/0.1295, allocations: 137.8 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1295, allocations: 15.81 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.1298, allocations: 139 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1298, allocations: 4 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1298, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1299, allocations: 3.938 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.1304, allocations: 435.2 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1305, allocations: 3.938 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.1305, allocations: 23.92 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1306, allocations: 3.938 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1306, allocations: 4 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1306, allocations: 4 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1306, allocations: 0 / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1309, allocations: 216.2 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.1309, allocations: 92.86 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.131, allocations: 7.984 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.1311, allocations: 0 / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1311, allocations: 7.984 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1311, allocations: 4 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1313, allocations: 213.5 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1313, allocations: 4 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1316, allocations: 23.98 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001644/0.1332, allocations: 443.1 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1335, allocations: 83.89 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1335, allocations: 0 / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.1336, allocations: 39.97 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.134, allocations: 16.31 kB / 488.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.1347, allocations: 357.9 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1351, allocations: 0.7236 MB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1351, allocations: 15.44 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1352, allocations: 0 / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.004329/0.1395, allocations: 1.954 MB / 491.2 MB, free: 10.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches