Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 75.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003638/0.1228, allocations: 2.037 MB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1248, allocations: 1.243 MB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.125, allocations: 4 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1252, allocations: 51.52 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.1258, allocations: 203.2 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.1267, allocations: 437.9 kB / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1271, allocations: 299.2 kB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1273, allocations: 56.7 kB / 485.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.1275, allocations: 131.5 kB / 485.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1278, allocations: 195.2 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1279, allocations: 16 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1281, allocations: 55.98 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.1282, allocations: 143.5 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1284, allocations: 162.6 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.1288, allocations: 390.5 kB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1289, allocations: 0 / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1289, allocations: 0 / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1289, allocations: 0 / 486.8 MB, free: 15.15 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.00108/0.13, allocations: 0.7657 MB / 487.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.13, allocations: 13.11 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.1303, allocations: 68.27 kB / 487.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.131, allocations: 459.7 kB / 488.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.131, allocations: 4.375 kB / 488.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.1311, allocations: 12.12 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1313, allocations: 143.1 kB / 488.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1314, allocations: 0 / 488.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1314, allocations: 8 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1314, allocations: 3.984 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.1316, allocations: 71.95 kB / 488.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.1325, allocations: 0.6682 MB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1327, allocations: 113.2 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.1328, allocations: 37.83 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1328, allocations: 12 kB / 489.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1328, allocations: 42.44 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.275e-06/0.1328, allocations: 3.984 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001291/0.1341, allocations: 0.5097 MB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1342, allocations: 77.11 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.1351, allocations: 0.8984 MB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1351, allocations: 25.7 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1353, allocations: 252.3 kB / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1354, allocations: 63.39 kB / 491.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.1354, allocations: 29.7 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1356, allocations: 378.7 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1357, allocations: 59.95 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1359, allocations: 65.69 kB / 491.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1362, allocations: 133.6 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1362, allocations: 4 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004241/0.1366, allocations: 229.1 kB / 491.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1366, allocations: 4 kB / 491.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1366, allocations: 0 / 491.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1367, allocations: 4 kB / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1369, allocations: 39.91 kB / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1369, allocations: 0 / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.137, allocations: 19.98 kB / 492 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.137, allocations: 4 kB / 492 MB, free: 9.699 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 (16): * Single equations (assignments): 16 * 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.000178/0.1372, allocations: 209.7 kB / 492.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.1373, allocations: 55.25 kB / 492.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.1378, allocations: 267 kB / 492.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1379, allocations: 0 / 492.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1379, allocations: 4 kB / 492.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1379, allocations: 3.984 kB / 492.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1389, allocations: 0.7749 MB / 493.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1389, allocations: 4 kB / 493.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1391, allocations: 39.91 kB / 493.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1391, allocations: 0 / 493.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1391, allocations: 8 kB / 493.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1391, allocations: 3.938 kB / 493.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1391, allocations: 0 / 493.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.1396, allocations: 394 kB / 493.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.1398, allocations: 136.4 kB / 493.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.1398, allocations: 11.94 kB / 493.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.14, allocations: 11.92 kB / 493.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1401, allocations: 19.97 kB / 493.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1401, allocations: 4 kB / 493.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006178/0.1407, allocations: 0.6513 MB / 494.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1407, allocations: 4 kB / 494.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1411, allocations: 63.89 kB / 494.6 MB, free: 6.957 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 (16): * Single equations (assignments): 16 * 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.0008716/0.1419, allocations: 402.3 kB / 495 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.1423, allocations: 139.9 kB / 495.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1423, allocations: 4 kB / 495.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1425, allocations: 79.89 kB / 495.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.1431, allocations: 77.03 kB / 495.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1442, allocations: 0.8923 MB / 496.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1446, allocations: 0.8614 MB / 497.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1448, allocations: 79.52 kB / 497.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.1449, allocations: 35.44 kB / 497.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1449, allocations: 0 / 497.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of Templates: time 0.007458/0.1523, allocations: 4.002 MB / 0.4894 GB, free: 0.4922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches