Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001712, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 74.34 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003366/0.1214, allocations: 2.117 MB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1236, allocations: 1.391 MB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1237, allocations: 7.938 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.124, allocations: 55.52 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.1245, allocations: 223 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1258, allocations: 0.6142 MB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.1261, allocations: 343 kB / 484.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1263, allocations: 76.69 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.1265, allocations: 147.4 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1268, allocations: 203.2 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1268, allocations: 16 kB / 485.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.127, allocations: 63.97 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.1272, allocations: 151.4 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1273, allocations: 186.5 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1277, allocations: 410.7 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1277, allocations: 4 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1277, allocations: 0 / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1277, allocations: 3.938 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001033/0.1288, allocations: 0.8083 MB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1288, allocations: 8.031 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.1293, allocations: 96.14 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.1298, allocations: 488.4 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1298, allocations: 8.375 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1299, allocations: 12.12 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1302, allocations: 163.2 kB / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1302, allocations: 0 / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1302, allocations: 0 / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1303, allocations: 8 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.1306, allocations: 123.8 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.1316, allocations: 0.7151 MB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1319, allocations: 133.2 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1321, allocations: 73.8 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1321, allocations: 0 / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1321, allocations: 34.56 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1321, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002132/0.1343, allocations: 0.748 MB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1343, allocations: 81.11 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1354, allocations: 0.9102 MB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1355, allocations: 29.7 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1357, allocations: 268.3 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.1358, allocations: 63.09 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.1359, allocations: 37.7 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1361, allocations: 378.7 kB / 491.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1364, allocations: 111.9 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1366, allocations: 128.2 kB / 491.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.1372, allocations: 257.6 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1372, allocations: 0 / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007127/0.1379, allocations: 344.9 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.138, allocations: 4 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.138, allocations: 7.938 kB / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.138, allocations: 4 kB / 492 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1383, allocations: 51.94 kB / 492 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.1384, allocations: 4 kB / 492 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1385, allocations: 15.98 kB / 492 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1386, allocations: 11.98 kB / 492.1 MB, free: 8.965 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002368/0.1388, allocations: 225.7 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.1389, allocations: 59.25 kB / 492.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.1399, allocations: 402.3 kB / 492.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1399, allocations: 8 kB / 492.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1399, allocations: 0 / 492.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1399, allocations: 3.984 kB / 492.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1413, allocations: 0.9503 MB / 493.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1413, allocations: 0 / 493.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.1416, allocations: 51.89 kB / 493.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1416, allocations: 4 kB / 493.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1416, allocations: 7.984 kB / 493.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1416, allocations: 7.938 kB / 493.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1416, allocations: 4 kB / 493.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.1424, allocations: 0.5096 MB / 494.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1426, allocations: 144.3 kB / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.1427, allocations: 0 / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1429, allocations: 31.91 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.143, allocations: 15.98 kB / 494.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.143, allocations: 7.984 kB / 494.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00073/0.1438, allocations: 0.663 MB / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1441, allocations: 60 kB / 495.2 MB, free: 5.719 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 (20): * Single equations (assignments): 20 * 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.0009258/0.1451, allocations: 408.1 kB / 495.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.1457, allocations: 271.7 kB / 495.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1458, allocations: 0 / 495.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1461, allocations: 147.8 kB / 496 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.1467, allocations: 81.52 kB / 496.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1481, allocations: 1.017 MB / 497.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.1486, allocations: 0.8848 MB / 498 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.1489, allocations: 111.2 kB / 498.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.149, allocations: 47.36 kB / 498.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.149, allocations: 0 / 498.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of Templates: time 0.009126/0.1581, allocations: 4.465 MB / 0.4908 GB, free: 14.4 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches